Add wipe command

This commit is contained in:
Dmitrii Tochanskii 2025-10-02 14:36:29 +00:00
parent 34f7d4db98
commit 77f75a2b88

View file

@ -33,6 +33,13 @@ function build()
done
}
function wipe()
{
for pkgname in $filelist; do
rm -fr $pkgname || exit 1
done
}
case $1 in
"install")
install
@ -43,6 +50,9 @@ case $1 in
"build")
build
;;
"wipe")
wipe
;;
*)
echo Unknown command
;;