From 58e101bd6d2ad62b6689ad70fdfb3dc5d2455882 Mon Sep 17 00:00:00 2001 From: BeauTroll <-> Date: Tue, 16 Dec 2025 04:57:52 +0100 Subject: [PATCH] fix terminal colorng --- install.sh | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/install.sh b/install.sh index 253cfd0..40c3b51 100755 --- a/install.sh +++ b/install.sh @@ -129,25 +129,25 @@ echo -e "${GREEN}==================================================${NC}" echo "" echo -e "${YELLOW}📝 Prochaines étapes:${NC}" echo "" -echo "1. Éditez les configurations:" -echo " - ${YELLOW}/etc/borgmatic/.env${NC} (variables d'environnement)" -echo " - ${YELLOW}/etc/borgmatic/config.yaml${NC} (configuration Borg)" +echo -e "1. Éditez les configurations:" +echo -e " - ${YELLOW}/etc/borgmatic/.env${NC} (variables d'environnement)" +echo -e " - ${YELLOW}/etc/borgmatic/config.yaml${NC} (configuration Borg)" echo "" -echo "2. Initialisez votre repository Borg (si nouveau):" -echo " ${YELLOW}borg init --encryption=repokey-blake2 /path/to/repo${NC}" +echo -e "2. Initialisez votre repository Borg (si nouveau):" +echo -e " ${YELLOW}borg init --encryption=repokey-blake2 /path/to/repo${NC}" echo "" -echo "3. Testez votre configuration:" -echo " ${YELLOW}borgmatic --dry-run --verbosity 2${NC}" +echo -e "3. Testez votre configuration:" +echo -e " ${YELLOW}borgmatic --dry-run --verbosity 2${NC}" echo "" -echo "4. Exécutez un premier backup manuel:" -echo " ${YELLOW}borgmatic --verbosity 1${NC}" +echo -e "4. Exécutez un premier backup manuel:" +echo -e " ${YELLOW}borgmatic --verbosity 1${NC}" echo "" -echo "5. Vérifiez le timer systemd:" -echo " ${YELLOW}systemctl status borgmatic.timer${NC}" -echo " ${YELLOW}systemctl list-timers | grep borgmatic${NC}" +echo -e "5. Vérifiez le timer systemd:" +echo -e " ${YELLOW}systemctl status borgmatic.timer${NC}" +echo -e " ${YELLOW}systemctl list-timers | grep borgmatic${NC}" echo "" -echo "6. Démarrez le timer:" -echo " ${YELLOW}systemctl start borgmatic.timer${NC}" +echo -e "6. Démarrez le timer:" +echo -e " ${YELLOW}systemctl start borgmatic.timer${NC}" echo "" echo -e "${GREEN}Le backup s'exécutera automatiquement tous les jours à 3h du matin${NC}" echo ""