Remaniement : système de priorité dans updateall

This commit is contained in:
Hippolyte Chauvin 2023-09-15 10:04:54 +02:00
parent dd86bc399e
commit 198579d14f
8 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ separator() {
# Procédure principale # Procédure principale
main() { main() {
for i in "${scripts_d}/"*; do for i in "${scripts_d}/"*; do
separator "$(basename "$i")" separator "$(basename "$i" | cut -d '-' -f 2)"
"$i" "$i"
done done
} }
@ -42,7 +42,7 @@ case "$script" in
main "$@" main "$@"
;; ;;
*) *)
"${scripts_d}/${script}" "$@" "${scripts_d}/"??"-${script}" "$@"
;; ;;
esac esac