diff --git a/scripts/install b/scripts/install index b2e046b..ae2fe2b 100644 --- a/scripts/install +++ b/scripts/install @@ -72,9 +72,9 @@ ln -sd $data_dir/_data $install_dir/_data ln -sd $data_dir/upload $install_dir/upload ln -sd $data_dir/galleries $install_dir/galleries -cp -Rp $tmpdir/_data/. $install_dir/_data -cp -Rp $tmpdir/upload/. $install_dir/upload -cp -Rp $tmpdir/galleries/. $install_dir/galleries +cp -Rp $tmpdir/*/_data/. $install_dir/_data +cp -Rp $tmpdir/*/upload/. $install_dir/upload +cp -Rp $tmpdir/*/galleries/. $install_dir/galleries ynh_secure_remove --file="$tmpdir"