mirror of
https://github.com/YunoHost-Apps/ifm_ynh.git
synced 2024-09-03 18:45:52 +02:00
This commit is contained in:
parent
cc235b02c0
commit
f8f72e879f
3 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ ynh_script_progression --message="Setting up source files..." --weight=3
|
||||||
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
||||||
|
|
||||||
mkdir -p $final_path
|
mkdir -p $final_path
|
||||||
mv "../conf/ifm.php" "$final_path/ifm.php"
|
mv "../sources/ifm.php" "$final_path/ifm.php"
|
||||||
|
|
||||||
chmod 750 "$final_path"
|
chmod 750 "$final_path"
|
||||||
chmod -R o-rwx "$final_path"
|
chmod -R o-rwx "$final_path"
|
||||||
|
|
|
@ -67,7 +67,7 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||||
then
|
then
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=2
|
ynh_script_progression --message="Upgrading source files..." --weight=2
|
||||||
|
|
||||||
mv -f "../conf/ifm.php" "$final_path/ifm.php"
|
mv -f "../sources/ifm.php" "$final_path/ifm.php"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chmod 750 "$final_path"
|
chmod 750 "$final_path"
|
||||||
|
|
Loading…
Add table
Reference in a new issue