Use 'rmdir' instead of 'rm -r'

This commit is contained in:
Hugo van Kemenade 2023-02-08 10:12:14 +02:00
parent ed3cd75630
commit f679e410bd

View File

@ -8,5 +8,5 @@ if [ ! -f $archive.tar.gz ]; then
wget -O $archive.tar.gz $url wget -O $archive.tar.gz $url
fi fi
rm -r $archive rmdir $archive
tar -xvzf $archive.tar.gz tar -xvzf $archive.tar.gz