mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
www-apps/code-server-bin: expand case of die on failed removal
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
@@ -53,12 +53,15 @@ src_prepare() {
|
||||
rm lib/vscode/node_modules/vscode-ripgrep/bin/rg || die
|
||||
|
||||
# not needed
|
||||
rm code-server
|
||||
rm postinstall.sh
|
||||
rm code-server || die
|
||||
rm postinstall.sh || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local mydocs="LICENSE.txt README.md ThirdPartyNotices.txt"
|
||||
# already in /usr/portage/licenses/MIT
|
||||
rm LICENSE.txt || die
|
||||
|
||||
local mydocs="README.md ThirdPartyNotices.txt"
|
||||
for doc in ${mydocs}
|
||||
do
|
||||
(dodoc "${doc}" && rm "${doc}") || die
|
||||
|
||||
Reference in New Issue
Block a user