1
0

update variable /home/matt pour sourcing

This commit is contained in:
unfr
2025-05-31 22:24:55 +02:00
parent 6316828d24
commit 7e0d0c437d
6 changed files with 416 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
#!/bin/bash
source /home/$USER/autopost/conf.sh
source $HOME/autopost/conf.sh
#CONFIG GLOBAL
SCREEN_NAME="autopost"

View File

@@ -1,5 +1,5 @@
#!/bin/bash
source /home/$USER/autopost/common.sh
source $HOME/autopost/common.sh
# Recherche récursive des fichiers .nzb dans FINIS
find ${DOSSIER_NZB_FINAL} -type f -name "*.nzb" | while IFS= read -r fichier; do
# Supprime l'extension .nzb pour conserver le chemin complet

View File

@@ -1,5 +1,5 @@
#!/bin/bash
source /home/$USER/autopost/common.sh
source $HOME/autopost/common.sh
# Vérification et création des dossiers
for dossier in "$DOSSIER_NFO" "$DOSSIER_NZB_ATTENTE" "$DOSSIER_NZB_FINAL" "$DOSSIER_LOGS" "tmp"