-
-
Save ilyasdc/0413a388aa38fe3d096e4f3fe4b7dc75 to your computer and use it in GitHub Desktop.
fix uninstall.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/uninstall.sh b/uninstall.sh | |
index 29fb578..bc7872d 100755 | |
--- a/uninstall.sh | |
+++ b/uninstall.sh | |
@@ -58,6 +58,9 @@ sudo systemctl disable --now v4l2-relayd.service | |
if [[ -f "${INSTALLED_PKG_LIST}" ]]; then | |
warn "Uninstalling packages from ${INSTALLED_PKG_LIST}" | |
+ for pkg in $(tac "${INSTALLED_PKG_LIST}"); do | |
+ uninstall_pkg "$pkg" | |
+ done | |
else | |
# Use the list in this script | |
for (( i=${#PKGS[@]}-1 ; i>=0 ; i-- )) ; do |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment