Merge unstable with main #1
@ -51,7 +51,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