Debian Codegraph @

debian/gap-core.postinst

raw
1 #!/bin/sh
2
3 set -e
4 case "$1" in
5 triggered)
6 # This is triggered by any installation of a GAP file
7 if [ -e /var/lib/gap/workspace.gz ]; then
8 update-gap-workspace update || echo "Cannot update GAP workspace"
9 fi
10 exit 0
11 ;;
12 esac
13
14 if [ -e /var/lib/gap/workspace.gz ]; then
15 update-gap-workspace update || echo "Cannot update GAP workspace"
16 fi
17
18 #DEBHELPER#