i hate ifs
This commit is contained in:
@@ -4,7 +4,7 @@ install -m 755 files/system-readonly "${ROOTFS_DIR}/sbin/"
|
||||
|
||||
if [ "${ARCH}" = "amd64" ]; then
|
||||
install -m 644 files/fstab-amd64 "${ROOTFS_DIR}/etc/fstab"
|
||||
if [[ "${ARCH}" == "arm64" || "${ARCH}" == "armhf" ]]; then
|
||||
elif [[ "${ARCH}" == "arm64" || "${ARCH}" == "armhf" ]]; then
|
||||
install -m 644 files/fstab-rpi "${ROOTFS_DIR}/etc/fstab"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user