mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-22 14:36:31 +02:00
init.sh: fix indentation in gentoo check
the submitted messed up indentation, yeah Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+8
-7
@@ -88,18 +88,19 @@ xbmkpkg()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$2" == "gentoo" ]; then
|
if [ "$2" == "gentoo" ]; then
|
||||||
if [ -z "$pkg_use" ] || [ -z "$pkg_use_file" ]; then
|
|
||||||
err "pkg_use/pkg_use_file not both set" "xbmkpkg" "$@"
|
if [ -z "$pkg_use" ] || [ -z "$pkg_use_file" ]; then
|
||||||
fi
|
err "pkg_use/pkg_use_file not both set" "xbmkpkg" "$@"
|
||||||
|
fi
|
||||||
|
|
||||||
printf "Updating package use...\n"
|
printf "Updating package use...\n"
|
||||||
printf "Writing into $pkg_use_file..."
|
printf "Writing into $pkg_use_file..."
|
||||||
|
|
||||||
if [ ! -d `dirname $pkg_use_file` ]; then
|
if [ ! -d `dirname $pkg_use_file` ]; then
|
||||||
mkdir `dirname $pkg_use_file`
|
mkdir `dirname $pkg_use_file`
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf "%s\n" "$pkg_use" >> $pkg_use_file
|
printf "%s\n" "$pkg_use" >> $pkg_use_file
|
||||||
fi
|
fi
|
||||||
|
|
||||||
x_ $pkg_add $pkglist
|
x_ $pkg_add $pkglist
|
||||||
|
|||||||
Reference in New Issue
Block a user