diff options
author | Enno Boland <g@s01.de> | 2016-02-23 07:05:43 +0000 |
---|---|---|
committer | Enno Boland <g@s01.de> | 2016-02-23 07:05:43 +0000 |
commit | c83a4d96c493ba9c87a08229b33dc2531b15718c (patch) | |
tree | a37fc5b6e98a4289cad2e715372d5a02fbaed719 | |
parent | ca84fd0a9aea0dd94dde6fd1f9a6a509cec5a789 (diff) | |
download | void-packages-c83a4d96c493ba9c87a08229b33dc2531b15718c.tar void-packages-c83a4d96c493ba9c87a08229b33dc2531b15718c.tar.gz void-packages-c83a4d96c493ba9c87a08229b33dc2531b15718c.tar.bz2 void-packages-c83a4d96c493ba9c87a08229b33dc2531b15718c.tar.lz void-packages-c83a4d96c493ba9c87a08229b33dc2531b15718c.tar.xz void-packages-c83a4d96c493ba9c87a08229b33dc2531b15718c.tar.zst void-packages-c83a4d96c493ba9c87a08229b33dc2531b15718c.zip |
hooks/pre-pkg: mtime rewriting is default on now.
-rw-r--r-- | common/hooks/pre-pkg/90-set-timestamps.sh | 4 | ||||
-rw-r--r-- | etc/defaults.conf | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/common/hooks/pre-pkg/90-set-timestamps.sh b/common/hooks/pre-pkg/90-set-timestamps.sh index a60a90f1ddf..dcb0b57a489 100644 --- a/common/hooks/pre-pkg/90-set-timestamps.sh +++ b/common/hooks/pre-pkg/90-set-timestamps.sh @@ -4,8 +4,8 @@ hook() { local GIT_CMD date basepkg - # If XBPS_USE_GIT_COMMIT_DATE is disabled in conf file don't continue. - if [ -z $XBPS_USE_GIT_COMMIT_DATE ]; then + # If XBPS_USE_BUILD_MTIME is enabled in conf file don't continue. + if [ -n "$XBPS_USE_BUILD_MTIME" ]; then return fi diff --git a/etc/defaults.conf b/etc/defaults.conf index 956c5fb4277..14f8926d9de 100644 --- a/etc/defaults.conf +++ b/etc/defaults.conf @@ -115,7 +115,7 @@ XBPS_SUCMD="sudo /bin/sh -c" #XBPS_CHROOT_CMD_ARGS="" # [OPTIONAL] -# Enable fixed timestamps. If set xbps-src will overwrite the mtime of all files -# in a package with the commit date of the package. +# Enable to use the standard mtime of files. Otherwise it will be rewritten to +# the last commit time of the package. # -#XBPS_USE_GIT_COMMIT_DATE=yes +#XBPS_USE_BUILD_MTIME=yes |