Browse Source

fix: idem_apt_install

main
pvincent 6 months ago
parent
commit
ccc7760f09
  1. 3
      tools/idem_apt_install

3
tools/idem_apt_install

@ -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

Loading…
Cancel
Save