forked from kiss-community/kiss
kiss: use pkg_order for crux-like usage
This commit is contained in:
parent
c716a4b996
commit
3ac3fdcbf8
4
kiss
4
kiss
@ -1521,8 +1521,8 @@ args() {
|
||||
# Use basename of current directory as package.
|
||||
set -- "${PWD##*/}"
|
||||
;;
|
||||
esac
|
||||
|
||||
[!l]-*)
|
||||
# Order the argument list based on dependence.
|
||||
pkg_order "$@"
|
||||
|
||||
@ -1531,8 +1531,6 @@ args() {
|
||||
set -- $order
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
|
||||
# Rerun the script as root with a fixed environment if needed. We sadly
|
||||
# can't run singular functions as root so this is needed.
|
||||
|
Loading…
Reference in New Issue
Block a user