@@ -28,12 +28,16 @@ rm "$deb_dir/release.sh"
2828(cat${SCRIPT_DIR} /DEBIAN/prerm| envsubst' ${PGVERSION}' )> " $deb_dir /DEBIAN/prerm"
2929(cat${SCRIPT_DIR} /DEBIAN/postrm| envsubst' ${PGVERSION}' )> " $deb_dir /DEBIAN/postrm"
3030
31- cp${SCRIPT_DIR} /../../pgml-extension/requirements.linux.txt" $deb_dir /etc/postgresml-python/requirements.linux.txt"
31+ if [[" $ARCH " == " amd64" ]]; then
32+ cp${SCRIPT_DIR} /../../pgml-extension/requirements.linux.txt" $deb_dir /etc/postgresml-python/requirements.txt"
33+ else
34+ cp${SCRIPT_DIR} /../../pgml-extension/requirements.macos.txt" $deb_dir /etc/postgresml-python/requirements.txt"
35+ fi
3236
3337virtualenv --python=" python$PYTHON_VERSION " " $deb_dir /var/lib/postgresml-python/pgml-venv"
3438source " $deb_dir /var/lib/postgresml-python/pgml-venv/bin/activate"
3539
36- python -m pip install -r" ${deb_dir} /etc/postgresml-python/requirements.linux. txt"
40+ python -m pip install -r" ${deb_dir} /etc/postgresml-python/requirements.txt"
3741
3842deactivate
3943