fix: idem_apt_install
This commit is contained in:
@@ -16,7 +16,8 @@ function usage {
|
|||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
source "$MIAOU_BASH_DIR"/lib/functions.sh
|
BASEDIR=$(dirname "$0")
|
||||||
|
source "$BASEDIR"/../lib/functions.sh
|
||||||
|
|
||||||
[ "$(id -u)" -ne 0 ] && echo 'root privilege required' && exit 2
|
[ "$(id -u)" -ne 0 ] && echo 'root privilege required' && exit 2
|
||||||
[[ $# -lt 1 ]] && usage
|
[[ $# -lt 1 ]] && usage
|
||||||
|
|||||||
Reference in New Issue
Block a user