summaryrefslogtreecommitdiff
path: root/control.sh
diff options
context:
space:
mode:
Diffstat (limited to 'control.sh')
-rwxr-xr-xcontrol.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/control.sh b/control.sh
index e111fbbcc..fca5380ee 100755
--- a/control.sh
+++ b/control.sh
@@ -34,7 +34,7 @@ EOF
if [[ $1 == status || $1 == available ]]; then
cat <<EOF
-Installed-Size: $(dpkg -f "${PKG_BASE}/debs/${PKG_NAME}_${PKG_VRSN}-${PKG_RVSN}_darwin-arm.deb" Installed-Size)
+Installed-Size: $(dpkg -f "${PKG_BASE}/debs/${PKG_NAME}_${PKG_VRSN}-${PKG_RVSN}_${PKG_ARCH}.deb" Installed-Size)
EOF
elif [[ $1 == control ]]; then
cat <<EOF
@@ -44,7 +44,7 @@ fi
cat <<EOF
Maintainer: $(cat "${PKG_DATA}/_metadata/maintainer")
-Architecture: darwin-arm
+Architecture: ${PKG_ARCH}
EOF
echo -n "Version: ${PKG_VRSN}"