Merge pull request 'Merge unstable with main' (#1) from unstable into main
Reviewed-on: EverestLinux/glacier#1
This commit is contained in:
commit
4e84af0217
@ -53,7 +53,7 @@ int_check() {
|
|||||||
unpack_pkg() {
|
unpack_pkg() {
|
||||||
printf "$blue[ i ]$reset Unpacking $2.tar.gz...\n"
|
printf "$blue[ i ]$reset Unpacking $2.tar.gz...\n"
|
||||||
mkdir $2 && mv $2.tar.gz $2 && cd $2
|
mkdir $2 && mv $2.tar.gz $2 && cd $2
|
||||||
tar -xf $2.tar.gz
|
pv $2.tar.gz | tar -xz
|
||||||
if [ "$?" != "0" ]; then
|
if [ "$?" != "0" ]; then
|
||||||
printf "$red[ $error ]$reset Could not unpack $2.tar.gz.\n"
|
printf "$red[ $error ]$reset Could not unpack $2.tar.gz.\n"
|
||||||
cd .. && rm -rf $2
|
cd .. && rm -rf $2
|
||||||
|
Loading…
Reference in New Issue
Block a user