Update glacier-install.sh

This commit is contained in:
everest 2022-03-24 13:46:14 +00:00 committed by GitHub
parent 3532e3c0cd
commit d13c54df8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ if [ "$?" != "0" ]; then
exit 1
fi
echo "[ i ] Unpacking $input.tar.gz..."
mkdir $input && mv $input.tar.gz $input && cd $input
mkdir -v $input && mv -v $input.tar.gz $input && cd -v $input
tar -xvf $input.tar.gz
if [ "$?" != "0" ]; then
echo "[ X ] Could not unpack $input.tar.gz" 1>&2
@ -25,7 +25,7 @@ fi
chmod +x INSTALL.sh
./INSTALL.sh # Actually executes installation script
echo "[ i ] Cleaning up..." # Status message
mv $input-pkginfo.json /etc/glacier/pkginfo
mv -v $input-pkginfo.json /etc/glacier/pkginfo
cd ..
rm -rf $input
rm -rvf $input
echo "[ i ] Operation completed."