1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/z-push_ynh.git synced 2024-09-03 18:05:58 +02:00

Update tar command

This commit is contained in:
polytan02 2017-02-09 18:55:04 +00:00
parent 8eb2318ae4
commit 1c6b570fc6
2 changed files with 2 additions and 2 deletions

View file

@ -101,7 +101,7 @@ sudo mkdir -p $final_path
SFILE=`sudo cat ../sources/source_file`;
sudo wget -nv -i ../sources/source_url -O $SFILE
sudo md5sum -c ../sources/source_md5 --status || (echo "Corrupt source" >&2 && false)
sudo tar xzvf $SFILE -d ../sources/
sudo tar xzvf $SFILE -C ../sources/
sudo cp -R ../sources/$SFILE/* $final_path
# Configuration

View file

@ -62,7 +62,7 @@ sudo mkdir -p $final_path
SFILE=`sudo cat ../sources/source_file`;
sudo wget -nv -i ../sources/source_url -O $SFILE
sudo md5sum -c ../sources/source_md5 --status || (echo "Corrupt source" >&2 && false)
sudo tar xzvf $SFILE -d ../sources/
sudo tar xzvf $SFILE -C ../sources/
sudo cp -R ../sources/$SFILE/* $final_path
# Configuration