void-packages/srcpkgs/7zip/p7zip.INSTALL
classabbyamp 9ab1405894
*: remove unnecessary execute permissions
* INSTALL scripts don't need to be executable
* anything installed by vbin is set to 755
* many of these files were otherwise marked executable in the template
  (vinstall, chmod, etc)
* some had no business being executable, like the smattering of patches
  and other files
* remove files from chroot-distcc no longer used in the template
  (46ce787b63d467d9b8e5ef8821e2ddefea4b980a)
2024-08-02 13:24:47 -04:00

9 lines
362 B
Plaintext

# https://github.com/void-linux/void-packages/issues/41209
# When p7zip is updated from 16.02 or earlier,
# /usr/bin/7z symlink will be lost because
# - 7zip installed first -> alternatives system will `ln -s 7zip usr/bin/7z'
# - p7zip upgrade will remove its old files, aka `rm -f usr/bin/7z
if [ ! -L usr/bin/7z ]; then
xbps-alternatives -r "$PWD" -s 7zip
fi