Suppression de .config/a5l_scripts-bash_uninstall-list dans le script uninstall.
This commit is contained in:
parent
5e643dc792
commit
29bab4ceaa
|
@ -9,12 +9,11 @@ if [ -e $uninstall_list_file ]; then
|
|||
while IFS= read -r file; do
|
||||
if [ -e "$file" ]; then
|
||||
# Supprime le fichier
|
||||
rm "$file"
|
||||
echo "Fichier supprimé : $file"
|
||||
else
|
||||
echo "Fichier introuvable : $file"
|
||||
rm -v "$file"
|
||||
fi
|
||||
done < "$uninstall_list_file"
|
||||
|
||||
rm -v "$uninstall_list_file"
|
||||
else
|
||||
echo "Le fichier $uninstall_list_file n'existe pas."
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue