--- freem-mk-debian-package/mk-debian-package 2025/04/03 03:52:38 1.5 +++ freem-mk-debian-package/mk-debian-package 2025/04/04 02:50:44 1.6 @@ -1,7 +1,7 @@ #!/usr/bin/env bash # -# $Id: mk-debian-package,v 1.5 2025/04/03 03:52:38 snw Exp $ +# $Id: mk-debian-package,v 1.6 2025/04/04 02:50:44 snw Exp $ # Creates a Debian package for a specific FreeM version # # @@ -26,6 +26,9 @@ # along with FreeM. If not, see . # # $Log: mk-debian-package,v $ +# Revision 1.6 2025/04/04 02:50:44 snw +# Prepare build scripts for 0.63.0 +# # Revision 1.5 2025/04/03 03:52:38 snw # Prepare Debian packaging infra for 0.63 series # @@ -82,7 +85,10 @@ fi echo -n "${PGM}: extracting ${OUTFILE} to ${TARDIR}..." tar zxf "${OUTFILE}" -C "${TMPDIR}" -mv "${TMPDIR}/freem-${FREEM_VERSION}" "${TMPDIR}/freem-${FREEM_VERSION_MOD}" +if [[ "${FREEM_VERSION}" != "${FREEM_VERSION_MOD}" ]] +then + mv "${TMPDIR}/freem-${FREEM_VERSION}" "${TMPDIR}/freem-${FREEM_VERSION_MOD}" +fi if [[ $? == 0 ]] then echo "[OK]"