1
0
Fork 0
forked from ahurac/dotfiles

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
main() {
for i in "${scripts_d}/"*; do
separator "$(basename "$i")"
separator "$(basename "$i" | cut -d '-' -f 2)"
"$i"
done
}
@ -42,7 +42,7 @@ case "$script" in
main "$@"
;;
*)
"${scripts_d}/${script}" "$@"
"${scripts_d}/"??"-${script}" "$@"
;;
esac