diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build index 43f9639dc0..f4f6dbb319 100755 --- a/tools/linux_packaging/build +++ b/tools/linux_packaging/build @@ -642,7 +642,7 @@ chmod a+x $APPBIN/${APP_VER_NAME}.uninstall.sh # # Add the stage2.run script # -sed -e "s/%REPLACE_MAJOR_VERSION%/${major_version}/" < stage2.run.in > stage2.run +sed -e "s/%REPLACE_MAJOR_VERSION%/${major_version}/;s/%REPLACE_PGM%/${APPNAME};s/%REPLACE_VENDOR%/${VENDOR}" < stage2.run.in > stage2.run chmod a+x stage2.run diff --git a/tools/linux_packaging/stage2.run.in b/tools/linux_packaging/stage2.run.in index 87f2401fba..4894875ab5 100755 --- a/tools/linux_packaging/stage2.run.in +++ b/tools/linux_packaging/stage2.run.in @@ -10,8 +10,8 @@ MAJOR_VERSION="%REPLACE_MAJOR_VERSION%" -PGM_NAME="Ardour" -PGM_VENDOR="Ardour" +PGM_NAME="%REPLACE_PGM%" +PGM_VENDOR="%REPLACE_VENDOR%" PGM_EXEC_FILE="ardour${MAJOR_VERSION}" THE_SHELL="/bin/sh"