tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pbulk.conf suggestion?



Hi,

I think I've realized that the "bootstrap kit" and at least pbulk
should be reinstalled between pkgsrc branch installs.  To me
there's an impediment to doing this, in that any and all
customizations to pbulk.conf will get lost in such an update
and/or requies a manual step to preserve and reinstate the local
customizations..

How, then, about this modification?  If /etc/pbulk.conf exists,
source it from the default pbulk.conf file?  That way, the
customizations can be put in a file which is untouched by a pbulk
reinstall. (In my case, this happesn in a chroot, of course.)

Regards,

- Havard

Index: pkgtools/pbulk/files/pbulk/pbulk.conf
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/pbulk/files/pbulk/pbulk.conf,v
retrieving revision 1.26
diff -u -r1.26 pbulk.conf
--- pkgtools/pbulk/files/pbulk/pbulk.conf       20 Aug 2021 06:38:31 -0000      1.26
+++ pkgtools/pbulk/files/pbulk/pbulk.conf       21 Dec 2024 18:05:38 -0000
@@ -142,3 +142,7 @@
 sync_package=default_sync_package
 # PKG_SUFX as set in mk.conf
 pkg_sufx=.tgz
+
+if [ -f /etc/pbulk.conf ]; then
+       . /etc/pbulk.conf
+fi


Home | Main Index | Thread Index | Old Index