Ajout d'un helper
This commit is contained in:
parent
ea8fae926a
commit
e6ed70fed3
|
@ -38,7 +38,7 @@
|
|||
"type": "path",
|
||||
"ask": {
|
||||
"en": "Choose a path for QR code generator",
|
||||
"fr": "Choisissez un domaine pour le Générateur de codes QR"
|
||||
"fr": "Choisissez un chemin pour le Générateur de codes QR"
|
||||
},
|
||||
"example": "/qr",
|
||||
"default": "/qr"
|
||||
|
@ -50,6 +50,10 @@
|
|||
"en": "Is it a public application?",
|
||||
"fr": "Est-ce une application publique ?"
|
||||
},
|
||||
"help": {
|
||||
"en": "Can the QR code generator be used by everyone?",
|
||||
"fr": "Le générateur de codes QR peut-il être utilisé par tout le monde ?"
|
||||
},
|
||||
"default": true
|
||||
}
|
||||
]
|
||||
|
|
|
@ -117,10 +117,10 @@ fi
|
|||
#ynh_secure_remove --file="/etc/cron.d/$app"
|
||||
|
||||
# Remove a directory securely
|
||||
ynh_secure_remove --file="/etc/$app/"
|
||||
#ynh_secure_remove --file="/etc/$app/"
|
||||
|
||||
# Remove the log files
|
||||
ynh_secure_remove --file="/var/log/$app/"
|
||||
#ynh_secure_remove --file="/var/log/$app/"
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
|
|
|
@ -159,6 +159,8 @@ ynh_store_file_checksum --file="$final_path/options.inc.php"
|
|||
|
||||
# Set permissions on app files
|
||||
chown -R root: $final_path
|
||||
chown -R root:$app $final_path/temp
|
||||
chmod -R g+w $final_path/temp
|
||||
|
||||
#=================================================
|
||||
# SETUP SSOWAT
|
||||
|
|
Loading…
Reference in New Issue