Windows 10 theme: skip uninstall script if missing

pull/953/head
Botspot 3 years ago
parent 366c9ab4f3
commit 16d0bcc9f2

@ -7,10 +7,10 @@ function error {
exit 1 exit 1
} }
if [ ! -f ~/Windows-10/uninstall ];then if [ -f ~/Windows-10/uninstall ];then
error "Windows 10 uninstall script missing!" setsid ~/Windows-10/uninstall &
else
echo "WARNING: Windows 10 theme's uninstall script is missing!"
fi fi
setsid ~/Windows-10/uninstall &
"${DIRECTORY}/purge-installed" "$(dirname "$0")" || exit 1 "${DIRECTORY}/purge-installed" "$(dirname "$0")" || exit 1

Loading…
Cancel
Save