i hate ifs

This commit is contained in:
2026-03-05 03:03:51 -08:00
parent 7f75c718b4
commit 618e154632
+1 -1
View File
@@ -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