GWinWrap/src/debs/FXWinWrap_0.1-3_x64/DEBIAN/postrm

21 lines
440 B
Bash
Executable File

#!/bin/bash
#postrm (script executed after uninstalling the package)
#set -e
if [ -f /bin/fxwinwrap ]; then
rm /bin/fxwinwrap
fi
if [ -d /opt/FXWinWrap ]; then
rm -rf /bin/fxwinwrap
fi
if [ -x "`which xdg-desktop-menu 2>/dev/null`" ]; then
xdg-desktop-menu uninstall /usr/share/applications/FXWinWrap.desktop
xdg-desktop-menu forceupdate --mode user
fi
if [ -x "`which update-menus 2>/dev/null`" ]; then
update-menus
fi