Skip to content

Update uninstall script to delete only asusctl-gex

Akilesh Kannan requested to merge (removed):aklsh-main-patch-60280 into main

Running npm run uninstall-user deletes all user-installed gnome-shell extensions, irrespective of whether it is asusctl-gex or not.

I think this is caused by this line, which uses $INSTALLNAME, which isn't declared before, thus being empty. And using rm -rf just deleted it as a directory.

rm -rf "$INSTALLBASE/$INSTALLNAME"

I am not very proficient in shell scripting, so please let me know if I'm wrong.

Merge request reports