Update glacier-install.sh
This commit is contained in:
parent
3532e3c0cd
commit
d13c54df8d
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user