Diff for /freem/scripts/fmd-pkg-pkgadd between versions 1.1 and 1.2

version 1.1, 2025/04/07 03:23:44 version 1.2, 2025/04/07 03:43:53
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.2  2025/04/07 03:43:53  snw
   #   Attempt to correct bash incompatibility on Solaris 8
   #
 #   Revision 1.1  2025/04/07 03:23:44  snw  #   Revision 1.1  2025/04/07 03:23:44  snw
 #   Port Solaris packaging script to fmd infrastructure  #   Port Solaris packaging script to fmd infrastructure
 #  #
Line 70  BASEDIR=/usr/local Line 73  BASEDIR=/usr/local
 EOF  EOF
   
 echo -n "${PGM}:  running pkgmk... "  echo -n "${PGM}:  running pkgmk... "
 pkgmk -o -d /tmp -a ${ARCH} &>> "${LOGFILE}"  pkgmk -o -d /tmp -a ${ARCH} >> "${LOGFILE}" 2>&1
 if [[ $? == 0 ]]  if [[ $? == 0 ]]
 then  then
     echo "[OK]"      echo "[OK]"
Line 81  fi Line 84  fi
 touch ${PKGFILE}  touch ${PKGFILE}
   
 echo -n "${PGM}:  running pkgtrans... "  echo -n "${PGM}:  running pkgtrans... "
 pkgtrans -s /tmp ${PKGFILE} ${PKG} &>> "${LOGFILE}"  pkgtrans -s /tmp ${PKGFILE} ${PKG} >> "${LOGFILE}" 2>&1
 if [[ $? == 0 ]]  if [[ $? == 0 ]]
 then  then
     echo "[OK]"      echo "[OK]"

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


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