Diff for /freem/scripts/fmd-package between versions 1.1 and 1.3

version 1.1, 2025/04/06 03:38:05 version 1.3, 2025/04/07 00:45:52
Line 25 Line 25
 #   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.  #   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.
 #  #
 #   $Log$  #   $Log$
   #   Revision 1.3  2025/04/07 00:45:52  snw
   #   Enhance fmd-pkg-dpkg to auto-generate the debian/changelog file from the FreeM ChangeLog
   #
   #   Revision 1.2  2025/04/06 05:01:21  snw
   #   Initial working implementation of fmd package for dpkg
   #
 #   Revision 1.1  2025/04/06 03:38:05  snw  #   Revision 1.1  2025/04/06 03:38:05  snw
 #   Prepare for adding packaging functionality to fmd  #   Prepare for adding packaging functionality to fmd
 #  #
Line 57  then Line 63  then
     usage      usage
 fi  fi
   
 if [[ $# == 0 ]]  if [[ $# != 1 ]]
 then  then
     echo "package:  must be run from 'fmd package'"      echo "package:  must be run from 'fmd package'"
     exit 1      exit 1
Line 65  fi Line 71  fi
   
 if [[ ${_fmd_can_package} == 0 ]]  if [[ ${_fmd_can_package} == 0 ]]
 then  then
     echo "fmd:  FreeM does not yet support binary packages on ${_fmd_distribution} ${_fmd_kernel}"      echo "package:  FreeM does not yet support binary packages on ${_fmd_distribution} ${_fmd_kernel}"
     exit 1      exit 1
 else  else
     echo "fmd:  FreeM supports ${_fmd_pkg_mechanism} packages on ${_fmd_distribution}"      echo "package:  building ${_fmd_pkg_mechanism} package on ${_fmd_distribution} ${_fmd_kernel}"
 fi  fi
   
   CMDSCRIPT="${SCRIPT_DIR}/fmd-pkg-${_fmd_pkg_mechanism}"
   
   if [[ -f "${CMDSCRIPT}" ]]
   then
       ${CMDSCRIPT} $1 $2
   else
       echo "package:  ${CMDSCRIPT} not found"
   fi

Removed from v.1.1  
changed lines
  Added in v.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>