Fix installer error

This commit is contained in:
2026-08-19 14:30:21 +02:00
parent ed2d1c1e84
commit 80ad142d52
+2 -1
View File
@@ -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"