1
0
Fork 0
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:
Alexandre Aubin 2023-03-14 22:08:17 +01:00 committed by GitHub
parent a980fb5a76
commit d41fdd8b73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"