dk: support de scripts génériques

This commit is contained in:
Jephté Clain 2019-08-14 17:29:30 +04:00
parent 488a2574a8
commit 3dfe5427e9
1 changed files with 3 additions and 0 deletions

3
dk
View File

@ -1124,6 +1124,9 @@ fi
[ -n "$chdir" ] && { cd "$chdir" || die; }
update_apps_mode="${update_apps_mode}${update_apps_devel:+w}"
[ -f .dk.scripts.sh ] && source ./.dk.scripts.sh
[ -f dk.scripts.sh ] && source ./dk.scripts.sh
while [ $# -gt 0 ]; do
[ "$1" == -- ] && { shift; continue; }
cmd="$1"; shift