diff options
-rwxr-xr-x | prtcreate | 6 | ||||
-rw-r--r-- | prtcreate.1 | 13 |
2 files changed, 18 insertions, 1 deletions
@@ -18,10 +18,14 @@ if [ -f Pkgfile ]; then exit 1 fi +if [ -f /etc/prtcreate.conf ]; then + . /etc/prtcreate.conf +fi + cat <<EOF > Pkgfile # Description: # URL: -# Maintainer: +# Maintainer:$(echo " $maintainer_line") # Depends on: name=`basename $PWD` diff --git a/prtcreate.1 b/prtcreate.1 index 4d3d372..088ca89 100644 --- a/prtcreate.1 +++ b/prtcreate.1 @@ -19,7 +19,20 @@ status of 1. .SH OPTIONS No options yet. +.SH CONFIG +You can create \fI/etc/prtcreate.conf\fP to configure a fixed maintainer line for your +new Pkgfiles. + +.PP +.nf + root@hostname:/root # cat /etc/prtcreate.conf + maintainer_line="Your Name, your_mail at provider dot tld" + root@hostname:/root # + + .SH EXAMPLES +.fi +.PP Call \fIprtcreate\fP in a new created directory: .PP |