parrot-menu.postinst 394 Bytes
Newer Older
EclipseSpark's avatar
EclipseSpark committed
1 2 3 4
#!/bin/sh

set -e 

5
if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt "0.83"; then
EclipseSpark's avatar
EclipseSpark committed
6 7 8 9
    # Initial installation or first upgrade, the hook is not yet in place,
    # we call it ourselves and it will wait until dpkg/apt is over
    /usr/share/parrot-menu/update-parrot-menu </dev/null >/dev/null 2>&1 &
fi
10 11 12 13 14 15 16

if which dconf >/dev/null 2>&1; then
    dconf update || true
fi

#DEBHELPER#