post_install() { /bin/touch --no-create $datadir/icons/hicolor &>/dev/null || : # restart Nemo UPDATENOTIFIERDIR=/var/lib/update-notifier/user.d echo "Please restart all running instances of Nemo." if [ -d $UPDATENOTIFIERDIR ] ; then cat > $UPDATENOTIFIERDIR/megasync-install-notify < /dev/null OnlyAdminUsers: False Description: MEGAsync requires Nemo to be restarted to function properly. DATA fi } post_remove() { /bin/touch --no-create $datadir/icons/hicolor &>/dev/null /usr/bin/gtk-update-icon-cache $datadir/icons/hicolor &>/dev/null || : # restart Nemo UPDATENOTIFIERDIR=/var/lib/update-notifier/user.d echo "Please restart all running instances of Nemo." if [ -d $UPDATENOTIFIERDIR ] ; then cat > $UPDATENOTIFIERDIR/megasync-install-notify < /dev/null OnlyAdminUsers: False Description: MEGAsync requires Nemo to be restarted to function properly. DATA fi }