Bladeren bron

fix syntax

lapineige 1 jaar geleden
bovenliggende
commit
c655e63e28
1 gewijzigde bestanden met toevoegingen van 5 en 5 verwijderingen
  1. 5 5
      config_panel.toml

+ 5 - 5
config_panel.toml

@@ -10,14 +10,14 @@ name = "Archivist configuration"
         ask = "Do you want to encrypt your backups ?"
         type = "boolean"
         default = true
-        bind = "encrypt:$final_path/Backup_list.conf"
+        bind = "encrypt:__FINAL_PATH__/Backup_list.conf"
 
         [main.encryption.encryption_pwd]
         ask = "Set the password for encryption"
         type = "password"
         optional = true
         help = "A password is needed if encryption is activated."
-        bind = "$final_path/passkey"
+        bind = "__FINAL_PATH__/passkey"
 
     [main.compression]
     name = "Compression algorithm"
@@ -27,14 +27,14 @@ name = "Archivist configuration"
         type = "select"
         choices = ["gzip", "lzop", "zstd", "bzip2", "lzma", "lzip", "xz", "No compression"]
         default = "gzip"
-        bind = "ynh_compression_mode:$final_path/Backup_list.conf"
+        bind = "ynh_compression_mode:__FINAL_PATH__/Backup_list.conf"
         
         [main.compression.compress_files]
         ask = "Choose the compression algorithm for files and directories backups"
         type = "select"
         choices = ["gzip", "lzop", "zstd", "bzip2", "lzma", "lzip", "xz", "No compression"]
         default = "gzip"
-        bind = "files_compression_mode:$final_path/Backup_list.conf"
+        bind = "files_compression_mode:__FINAL_PATH__/Backup_list.conf"
 
     [main.backup_types]
     name = "Backup"
@@ -43,7 +43,7 @@ name = "Archivist configuration"
         ask = "Would you like to backup your YunoHost core ?"
         type = "boolean"
         default = true
-        bind = "ynh_core_backup:$final_path/Backup_list.conf"        
+        bind = "ynh_core_backup:__FINAL_PATH__/Backup_list.conf"        
 
         [main.backup_types.apps_backup]
         ask = "Would you like to backup your apps ?"