Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Neutrinet
neutrinet_ynh
Commits
bb14e635
Commit
bb14e635
authored
May 03, 2020
by
Aleks
Browse files
rm -rf -> ynh_secure_remove
parent
f345ea0a
Changes
2
Hide whitespace changes
Inline
Side-by-side
scripts/remove
View file @
bb14e635
...
...
@@ -26,14 +26,14 @@ opt_path=$(ynh_app_setting_get $app opt_path)
ynh_script_progression
"Removing static site..."
rm
-rf
$final_path
ynh_secure_remove
$final_path
ynh_remove_nginx_config
ynh_script_progression
"Removing automatic vpn certificate renewal..."
rm
-rf
$opt_path
rm
-rf
/etc/cron.daily/
$app
-renew-cert
ynh_secure_remove
$opt_path
ynh_secure_remove
/etc/cron.daily/
$app
-renew-cert
#=================================================
# REMOVE DEPENDENCIES
...
...
scripts/upgrade
View file @
bb14e635
...
...
@@ -101,7 +101,7 @@ fi
ynh_script_progression
"Installing static site..."
rm
-rf
$final_path
ynh_secure_remove
$final_path
mkdir
-p
$final_path
cp
-r
../sources/.
$final_path
chown
-R
$app_user
:
$final_path
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment