mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-08 11:52:55 -04:00
20 lines
567 B
Plaintext
20 lines
567 B
Plaintext
$NetBSD: patch-post-install.d_50vcs-commit,v 1.1 2013/05/27 08:36:00 sbd Exp $
|
|
|
|
Add SUBST_VARS token.
|
|
|
|
--- post-install.d/50vcs-commit.orig 2011-02-22 20:19:36.000000000 +0000
|
|
+++ post-install.d/50vcs-commit
|
|
@@ -1,10 +1,10 @@
|
|
#!/bin/sh
|
|
set -e
|
|
|
|
-pl="/var/cache/etckeeper/packagelist"
|
|
+pl="@VARBASE@/cache/etckeeper/packagelist"
|
|
|
|
if etckeeper unclean; then
|
|
- message="committing changes in /etc after $HIGHLEVEL_PACKAGE_MANAGER run"
|
|
+ message="committing changes in ${ETCKEEPER_DIR} after $HIGHLEVEL_PACKAGE_MANAGER run"
|
|
|
|
if [ -e $pl.pre-install ]; then
|
|
(
|