summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xprtcreate6
-rw-r--r--prtcreate.113
2 files changed, 18 insertions, 1 deletions
diff --git a/prtcreate b/prtcreate
index 06c7189..3451abb 100755
--- a/prtcreate
+++ b/prtcreate
@@ -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

Generated by cgit