/usr/sbin/update-codeaster-engines is in code-aster-run 1.13.1-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #!/bin/sh
set -ex
# CONFFILE=/etc/codeaster/aster
ENGINES_DIR=/var/lib/codeaster
CA_VERSIONS=$(ls ${ENGINES_DIR})
CA_DEFAULT_VERSION=$(echo ${CA_VERSIONS} | cut -f 1 -d ' ')
cat << EOF
# Code_Aster versions
# versions can be absolute paths or relative to ASTER_ROOT
# examples : NEW10, /usr/lib/codeaster/NEW10
# default version (overridden by --vers option)
EOF
echo default_vers : ${CA_DEFAULT_VERSION}
echo "# available versions"
echo "# DO NOT EDIT FOLLOWING LINES !"
for CA_VERSION in ${CA_VERSIONS} ; do
echo "vers : ${CA_VERSION}"
done
|