forked from ahurac/dotfiles
Remaniement : système de priorité dans updateall
This commit is contained in:
parent
dd86bc399e
commit
198579d14f
8 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue