Don't hard code the architecture.

This commit is contained in:
Dave Page 2020-03-19 12:55:31 -04:00
parent e1cb6d92c5
commit cb600549c3

View File

@ -42,7 +42,7 @@ Description: The core server package for pgAdmin. pgAdmin is the most popular an
EOF
# Build the Debian package for the server
fakeroot dpkg-deb --build "${SERVERROOT}" "${DISTROOT}/${APP_NAME}-server_${APP_LONG_VERSION}_${OS_NAME}_${OS_VERSION}_amd64.deb"
fakeroot dpkg-deb --build "${SERVERROOT}" "${DISTROOT}/${APP_NAME}-server_${APP_LONG_VERSION}_${OS_NAME}_${OS_VERSION}_${OS_ARCH}.deb"
#
# Desktop package
@ -62,7 +62,7 @@ Description: The desktop user interface for pgAdmin. pgAdmin is the most popular
EOF
# Build the Debian package for the server
fakeroot dpkg-deb --build "${DESKTOPROOT}" "${DISTROOT}/${APP_NAME}-desktop_${APP_LONG_VERSION}_${OS_NAME}_${OS_VERSION}_amd64.deb"
fakeroot dpkg-deb --build "${DESKTOPROOT}" "${DISTROOT}/${APP_NAME}-desktop_${APP_LONG_VERSION}_${OS_NAME}_${OS_VERSION}_${OS_ARCH}.deb"
#
# Web package