mirror of
https://github.com/YunoHost-Apps/simple-torrent_ynh.git
synced 2024-09-03 20:26:18 +02:00
Fix upgrade setup_source, same as install
This commit is contained in:
parent
a980fb5a76
commit
d41fdd8b73
1 changed files with 3 additions and 3 deletions
|
@ -36,9 +36,9 @@ then
|
||||||
ynh_setup_source --dest_dir=$install_dir --keep="config.yml"
|
ynh_setup_source --dest_dir=$install_dir --keep="config.yml"
|
||||||
|
|
||||||
pushd "$install_dir"
|
pushd "$install_dir"
|
||||||
gzip --decompress $YNH_ARCH.gz
|
gzip --decompress main --to-stdout > main_dezipped
|
||||||
mv $YNH_ARCH $app
|
mv main_dezipped $app
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
|
|
Loading…
Add table
Reference in a new issue