mirror of
https://github.com/YunoHost-Apps/friendica_ynh.git
synced 2024-09-03 18:36:14 +02:00
fix
This commit is contained in:
parent
979ad8a39e
commit
8bb3c37b28
2 changed files with 0 additions and 13 deletions
|
@ -32,9 +32,6 @@ ynh_script_progression --message="Setting up source files..." --weight=5
|
|||
ynh_setup_source --dest_dir="$install_dir"
|
||||
ynh_setup_source --dest_dir="$install_dir/addon" --source_id="addons"
|
||||
|
||||
# Copy .htaccess-dist to ..htaccess
|
||||
cp -f "$install_dir/.htaccess-dist" "$install_dir/.htaccess"
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
||||
|
|
|
@ -34,16 +34,6 @@ ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app
|
|||
#=================================================
|
||||
ynh_script_progression --message="Ensuring downward compatibility..." --weight=3
|
||||
|
||||
# Remove files for upgrade compatibilty from previous versions of Friendica
|
||||
if [ -f $install_dir/.htconfig.php ]; then
|
||||
ynh_secure_remove "$install_dir/.htconfig.php"
|
||||
fi
|
||||
|
||||
# Remove files for upgrade compatibilty from previous versions of Friendica
|
||||
if [ -f $install_dir/.htconfig.php ]; then
|
||||
ynh_secure_remove "$install_dir/.htconfig.php"
|
||||
fi
|
||||
|
||||
if [ -f "/etc/cron.d/$app" ]; then
|
||||
ynh_secure_remove --file="/etc/cron.d/$app"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue