mirror of
https://github.com/YunoHost-Apps/jenkins_ynh.git
synced 2024-09-03 19:26:18 +02:00
[autopatch] TEST BEFORE MERGE ynh_setup_source --full_replace=1
This commit is contained in:
parent
a1191a82e6
commit
d787f7ac1b
2 changed files with 3 additions and 3 deletions
|
@ -77,7 +77,7 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||||
ynh_script_progression --message="Installing Jenkins..."
|
ynh_script_progression --message="Installing Jenkins..."
|
||||||
|
|
||||||
# Download jenkins deb file and install it.
|
# Download jenkins deb file and install it.
|
||||||
ynh_setup_source --dest_dir="../conf"
|
ynh_setup_source --dest_dir="../conf" --full_replace=1
|
||||||
dpkg --install --force-confnew ../conf/jenkins.deb
|
dpkg --install --force-confnew ../conf/jenkins.deb
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -110,8 +110,8 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||||
then
|
then
|
||||||
ynh_script_progression --message="Upgrading source files..."
|
ynh_script_progression --message="Upgrading source files..."
|
||||||
# Download jenkins deb file and install it.
|
# Download jenkins deb file and install it.
|
||||||
ynh_setup_source --dest_dir="../conf"
|
ynh_setup_source --dest_dir="../conf" --full_replace=1
|
||||||
ynh_setup_source --source_id="jenkins-plugin-manager" --dest_dir="$final_path"
|
ynh_setup_source --source_id="jenkins-plugin-manager" --dest_dir="$final_path" --full_replace=1
|
||||||
chmod 750 "$final_path"
|
chmod 750 "$final_path"
|
||||||
chmod -R o-rwx "$final_path"
|
chmod -R o-rwx "$final_path"
|
||||||
chown -R $app:$app "$final_path"
|
chown -R $app:$app "$final_path"
|
||||||
|
|
Loading…
Add table
Reference in a new issue