Print advice last
This commit is contained in:
@@ -1569,14 +1569,13 @@ uninstall() {
|
|||||||
echo "Uninstalling JRiver Media Center package"
|
echo "Uninstalling JRiver Media Center package"
|
||||||
if "${PKG_REMOVE[@]}" "${MC_PKG%%=*}"; then # remove version specifier
|
if "${PKG_REMOVE[@]}" "${MC_PKG%%=*}"; then # remove version specifier
|
||||||
echo "JRiver Media Center has been completely uninstalled"
|
echo "JRiver Media Center has been completely uninstalled"
|
||||||
echo "To remove your MC library: rm -rf $HOME/.jriver"
|
|
||||||
elif [[ $? -eq 100 ]]; then
|
elif [[ $? -eq 100 ]]; then
|
||||||
err "JRiver Media Center package '${MC_PKG%%=*}' is not present and was not uninstalled"
|
err "JRiver Media Center package '${MC_PKG%%=*}' is not present and was not uninstalled"
|
||||||
else
|
else
|
||||||
err "Could not remove Media Center package"
|
err "Could not remove Media Center package"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Uninstalling JRiver Media Center GPG keys"
|
echo "Uninstalling JRiver Media Center GPG key"
|
||||||
local keyfile="/usr/share/keyrings/jriver-com-archive-keyring.gpg"
|
local keyfile="/usr/share/keyrings/jriver-com-archive-keyring.gpg"
|
||||||
[[ -f $keyfile ]] && execute sudo rm -f "$keyfile"
|
[[ -f $keyfile ]] && execute sudo rm -f "$keyfile"
|
||||||
|
|
||||||
@@ -1588,6 +1587,7 @@ uninstall() {
|
|||||||
mv "$SCRIPT_DIR/.uninstall" "$SCRIPT_DIR/.uninstall.bk"
|
mv "$SCRIPT_DIR/.uninstall" "$SCRIPT_DIR/.uninstall.bk"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "To remove your MC library: rm -rf $HOME/.jriver"
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user