diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-12-31 14:33:31 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-01-02 21:43:28 +1000 |
commit | ca5a2771aeb0babca8270b83b0cb0172db4cebe5 (patch) | |
tree | 86d763975a43c2fc4487e4a726639b30827785fb /lib/libalpm/be_sync.c | |
parent | 39fe2d0e39956961bdcb9c4bd78ca11247f044bd (diff) | |
download | 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 'lib/libalpm/be_sync.c')
0 files changed, 0 insertions, 0 deletions