nut-debian/scripts/Solaris/makelocal.sh

12 lines
438 B
Bash
Raw Normal View History

2013-11-24 17:00:12 +02:00
#!/bin/sh
2022-07-10 10:23:45 +03:00
# Creates the package file from current-directory contents
# Called by Makefile starting from installed prototype directory
echo "Making Solaris SVR4 package metadata..." && \
pkgmk -o -d "`pwd`" && \
echo "Making Solaris SVR4 package archive file..." && \
( yes "" | pkgtrans "`pwd`" "`pwd`/NUT_solaris_package.local" ) && \
echo "Compressing Solaris SVR4 package archive file..." && \
gzip "`pwd`/NUT_solaris_package.local"