summaryrefslogtreecommitdiffstats
path: root/scripts/pacman-optimize.sh.in
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-12-31 20:33:31 +0100
committerAllan McRae <allan@archlinux.org>2015-01-02 12:43:28 +0100
commitca5a2771aeb0babca8270b83b0cb0172db4cebe5 (patch)
tree86d763975a43c2fc4487e4a726639b30827785fb /scripts/pacman-optimize.sh.in
parent39fe2d0e39956961bdcb9c4bd78ca11247f044bd (diff)
downloadpacman-ca5a2771aeb0babca8270b83b0cb0172db4cebe5.tar.gz
pacman-ca5a2771aeb0babca8270b83b0cb0172db4cebe5.tar.xz
updpkgsums: retain permissions on rewritten PKGBUILD
This could have been easy with something like chown's --reference flag, but this is GNU specific. Instead, just truncate and rewrite the file. Our exit trap cleans up after us. Fixes: https://bugs.archlinux.org/task/43272 Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/pacman-optimize.sh.in')
0 files changed, 0 insertions, 0 deletions