Browse Source

apply helpers 2.1 to last commits

HgO 5 months ago
parent
commit
8f119f5046
2 changed files with 4 additions and 1 deletions
  1. 3 0
      .gitignore
  2. 1 1
      scripts/upgrade

+ 3 - 0
.gitignore

@@ -0,0 +1,3 @@
+*~
+*.sw[op]
+.DS_Store

+ 1 - 1
scripts/upgrade

@@ -37,7 +37,7 @@ if [ -e "/etc/sudoers.d/${app}_ynh" ]; then
 fi
 
 if [ -e "/etc/openvpn/client.conf.tpl" ]; then
-  ynh_secure_remove "/etc/openvpn/client.conf.tpl"
+  ynh_safe_rm "/etc/openvpn/client.conf.tpl"
 fi
 
 # New stuff