diff --git a/mk/linux/make-binary-archive.sh b/mk/linux/make-binary-archive.sh index 7c956a8b4..13ec4ac00 100755 --- a/mk/linux/make-binary-archive.sh +++ b/mk/linux/make-binary-archive.sh @@ -83,12 +83,12 @@ cd $REPO_DATADIR/others/icons cp *.bmp *.png *.xpm "$RELEASEDIR/" if [ "$1" != "--installer" ]; then cd $REPO_DATADIR/others/desktop; cp *.desktop "$RELEASEDIR/"; fi cd $PROJDIR -cp megaglest megaglest_editor megaglest_g3dviewer start_megaglest \ - start_megaglest_mapeditor start_megaglest_g3dviewer \ - start_megaglest_gameserver "$RELEASEDIR/" +cp megaglest megaglest_editor megaglest_g3dviewer start_megaglest_gameserver "$RELEASEDIR/" cd "$CURRENTDIR/tools-for-standalone-client" +cp start_megaglest start_megaglest_mapeditor start_megaglest_g3dviewer "$RELEASEDIR/" if [ "$1" != "--installer" ]; then cp megaglest-configure-desktop.sh "$RELEASEDIR/"; fi + if [ "$(echo "$VERSION" | grep -v '\-dev$')" != "" ]; then ./prepare-mini-update.sh --only_script; sleep 0.5s cp megaglest-mini-update.sh "$RELEASEDIR/" diff --git a/mk/linux/tools-for-standalone-client/prepare-mini-update.sh b/mk/linux/tools-for-standalone-client/prepare-mini-update.sh index 13c86f483..3e9981970 100755 --- a/mk/linux/tools-for-standalone-client/prepare-mini-update.sh +++ b/mk/linux/tools-for-standalone-client/prepare-mini-update.sh @@ -61,8 +61,8 @@ exit 0' > "megaglest-mini-update.sh" if [ -d "megaglest-mini_update" ]; then rm -rf "megaglest-mini_update"; fi mkdir -p "megaglest-mini_update" - cp -f --no-dereference --preserve=all ../start_megaglest \ - ../start_megaglest_mapeditor ../start_megaglest_g3dviewer \ + cp -f --no-dereference --preserve=all start_megaglest \ + start_megaglest_mapeditor start_megaglest_g3dviewer \ megaglest-mini-update.sh megaglest-configure-desktop.sh "megaglest-mini_update" cp -R -f --no-dereference --preserve=all lib-x86 lib-x86_64 "megaglest-mini_update" sleep 0.5s diff --git a/mk/linux/start_megaglest b/mk/linux/tools-for-standalone-client/start_megaglest similarity index 100% rename from mk/linux/start_megaglest rename to mk/linux/tools-for-standalone-client/start_megaglest diff --git a/mk/linux/start_megaglest_g3dviewer b/mk/linux/tools-for-standalone-client/start_megaglest_g3dviewer similarity index 100% rename from mk/linux/start_megaglest_g3dviewer rename to mk/linux/tools-for-standalone-client/start_megaglest_g3dviewer diff --git a/mk/linux/start_megaglest_mapeditor b/mk/linux/tools-for-standalone-client/start_megaglest_mapeditor similarity index 100% rename from mk/linux/start_megaglest_mapeditor rename to mk/linux/tools-for-standalone-client/start_megaglest_mapeditor