mirror of
https://github.com/YunoHost-Apps/framagames_ynh.git
synced 2024-09-03 18:36:28 +02:00
Fix root install
This commit is contained in:
parent
78f63b157e
commit
32207df803
1 changed files with 3 additions and 1 deletions
|
@ -35,7 +35,9 @@ _build_install_framagames() {
|
|||
ynh_secure_remove --file="$install_dir/www"
|
||||
mv -f "$install_dir/sources/dist" "$install_dir/www"
|
||||
cp -r "$install_dir/sources/games/"* "$install_dir/www"
|
||||
mv -f "$install_dir/www/framagames/"* "$install_dir/www"
|
||||
if [[ "$path" != "/" ]]; then
|
||||
mv -f "$install_dir/www/$path/"* "$install_dir/www"
|
||||
fi
|
||||
}
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue