Verified Commit 2bcc3de1 authored by m.eik michalke's avatar m.eik michalke
Browse files

move old RKWard directory to trash

parent abde0a4d
......@@ -12,6 +12,7 @@ UNINSTALLER="${SCRIPTDIR}/uninstall.scpt"
UNINSTALLER_DIR="${HOME}/Applications"
UNINSTALLER_USER_APP="${UNINSTALLER_DIR}/RKWard_uninstall.app"
UNINSTALLER_APP="${SCRIPTDIR}/RKWard_uninstall.app"
OLDRKWARD="$(echo "$2/Applications/RKWard" | sed 's#//#/#g')"
"${INSTDIR}/bin/update-mime-database" -V "${INSTDIR}/share/mime"
......@@ -114,5 +115,9 @@ EOF
sudo -u "${INSTALLER_USER}" launchctl load -w "${PLISTTARGET}"
fi
fi
# finally remove the old RKWard folder if it's still present
if [ -d "${OLDRKWARD}" ] ; then
mv "${OLDRKWARD}" "${HOME}/.Trash/"
fi
fi
exit 0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment