diff options
Diffstat (limited to 'scripts/uninstall-modules')
-rwxr-xr-x | scripts/uninstall-modules | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/uninstall-modules b/scripts/uninstall-modules new file mode 100755 index 0000000..545c19d --- /dev/null +++ b/scripts/uninstall-modules @@ -0,0 +1,9 @@ +#!/bin/sh -eu + +install_dir="$1" +shift + +for mod; do + printf "uninstalling %s\n" "$mod" + rm -r "$install_dir/$mod" +done |