mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-05 11:33:12 +02:00
7zip: do not run xbps-alternatives in INSTALL script
This results in a deadlock since now that xbps correctly holds the lock on the pkgdb, xbps-alternatives in the INSTALL script will just wait for the lock indefinitely.
This commit is contained in:
parent
261359efed
commit
e1c0007ec4
2 changed files with 1 additions and 9 deletions
|
@ -1,8 +0,0 @@
|
||||||
# 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
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for '7zip'
|
# Template file for '7zip'
|
||||||
pkgname=7zip
|
pkgname=7zip
|
||||||
version=25.00
|
version=25.00
|
||||||
revision=1
|
revision=2
|
||||||
short_desc="File archiver with a high compression ratio"
|
short_desc="File archiver with a high compression ratio"
|
||||||
maintainer="Roberto Ricci <io@r-ricci.it>"
|
maintainer="Roberto Ricci <io@r-ricci.it>"
|
||||||
license="LGPL-2.1-or-later, BSD-3-Clause"
|
license="LGPL-2.1-or-later, BSD-3-Clause"
|
||||||
|
|
Loading…
Add table
Reference in a new issue