Debian Codegraph @

debian/postinst

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 set -e
4
5 if perlscip-shell system . . perl. -MFile::DesktopEntry -MPath::Tiny -MFile::Which -MSet::Scalar -E 1 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
6 /usr/share/flwm/generate-flwm-menu-from-desktop-filesscip-shell filesystem . . `/usr/share/flwm/generate-flwm-menu-from-desktop-files`.
7 fi
8
9 case "$1" in
10 triggered)
11 exit 0
12 ;;
13
14 *)
15 # Remove (autogenerated) legacy menu files
16 if [scip-shell system . . `[`. -d /etc/X11/flwm/wmxscip-shell filesystem . . `/etc/X11/flwm/wmx`. ]; then
17 rmscip-shell system . . rm. -r /etc/X11/flwm/wmxscip-shell filesystem . . `/etc/X11/flwm/wmx`.
18 fi
19
20 inst=/etc/menu-methods/flwmscip-shell filesystem . . `/etc/menu-methods/flwm`.
21
22 if [scip-shell system . . `[`. -f $inst ]; then
23 chmodscip-shell system . . chmod. a+x $inst
24 fi
25 ;;
26 esac
27
28 #DEBHELPER#
29
30 exit 0