diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-12-31 20:33:31 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-01-02 12:43:28 +0100 |
commit | ca5a2771aeb0babca8270b83b0cb0172db4cebe5 (patch) | |
tree | 86d763975a43c2fc4487e4a726639b30827785fb /scripts/pacman-optimize.sh.in | |
parent | 39fe2d0e39956961bdcb9c4bd78ca11247f044bd (diff) | |
download | pacman-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