about summary refs log tree commit diff
path: root/scripts/uninstall-modules
blob: 545c19dd61e7671188700d9b442d814ad093065f (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh -eu

install_dir="$1"
shift

for mod; do
	printf "uninstalling %s\n" "$mod"
	rm -r "$install_dir/$mod"
done