Fix installer error
This commit is contained in:
+2
-1
@@ -7,7 +7,7 @@ BINDIR="${PREFIX}/bin"
|
|||||||
DESKTOPDIR="${PREFIX}/share/applications"
|
DESKTOPDIR="${PREFIX}/share/applications"
|
||||||
ICONDIR="${PREFIX}/share/icons/hicolor"
|
ICONDIR="${PREFIX}/share/icons/hicolor"
|
||||||
DOCDIR="${PREFIX}/share/doc/yms"
|
DOCDIR="${PREFIX}/share/doc/yms"
|
||||||
MANDIR="${PREFIX}/usr/local/share/man/man1"
|
MANDIR="${PREFIX}/share/man/man1"
|
||||||
LOCALEDIR="${PREFIX}/share/locale"
|
LOCALEDIR="${PREFIX}/share/locale"
|
||||||
|
|
||||||
SOURCEDIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
SOURCEDIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
||||||
@@ -20,6 +20,7 @@ if [ "$1" = "uninstall" ]; then
|
|||||||
rm -f "${BINDIR}/yms"
|
rm -f "${BINDIR}/yms"
|
||||||
rm -f "${DESKTOPDIR}/yms.desktop"
|
rm -f "${DESKTOPDIR}/yms.desktop"
|
||||||
rm -rf "${DOCDIR}"
|
rm -rf "${DOCDIR}"
|
||||||
|
rm -f "${MANDIR}/yms.1"
|
||||||
rm -f "${LOCALEDIR}/de/LC_MESSAGES/ymsgui.mo"
|
rm -f "${LOCALEDIR}/de/LC_MESSAGES/ymsgui.mo"
|
||||||
|
|
||||||
rm -f "${ICONDIR}/scalable/apps/yms.svg"
|
rm -f "${ICONDIR}/scalable/apps/yms.svg"
|
||||||
|
|||||||
Reference in New Issue
Block a user