mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
dev-util/tinyxxd: properly setup xxd replacement
Signed-off-by: ingenarel <ingenarelitems@gmail.com>
This commit is contained in:
@@ -13,12 +13,17 @@ else
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
RDEPEND="!dev-util/xxd"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
IUSE="xxd"
|
||||
|
||||
RDEPEND="xxd? ( !dev-util/xxd !app-editors/vim-core )"
|
||||
|
||||
src_install(){
|
||||
default
|
||||
dosym /usr/bin/tinyxxd /usr/bin/xxd
|
||||
if use xxd; then
|
||||
dosym -r /usr/bin/tinyxxd /usr/bin/xxd
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user