Commit c225d41f authored by udeved's avatar udeved

fstabgen, basestrap: backport minor arch changes

parent ed8de0f8
......@@ -44,10 +44,10 @@ usage() {
}
# if [[ -z $1 || $1 = @(-h|--help) ]]; then
# usage
# exit $(( $# ? 0 : 1 ))
# usage
# exit $(( $# ? 0 : 1 ))
# fi
#
orig_argv=("$0" "$@")
opts=':C:cdGiM'
......@@ -81,7 +81,7 @@ ${interactive} && pacman_args+=(--noconfirm)
[[ -d $newroot ]] || die "%s is not a directory" "$newroot"
if ! mountpoint -q "$newroot" && ! ${directory}; then
die '%s is not a mountpoint!' "$newroot"
die '%s is not a mountpoint!' "$newroot"
fi
# create obligatory directories
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment