keychain: remove /bin/applets from PATH

This commit is contained in:
Leonid Pliushch 2020-07-09 01:13:40 +03:00
parent 46ae6589e8
commit aec58b1799

View File

@ -9,7 +9,7 @@ TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_PLATFORM_INDEPENDENT=true
termux_step_make_install() {
sed -iE "s@^PATH=.*@PATH=$TERMUX_PREFIX/bin:$TERMUX_PREFIX/bin/applets@" keychain
sed -iE "s@^PATH=.*@PATH=$TERMUX_PREFIX/bin@" keychain
install -Dm700 keychain "${TERMUX_PREFIX}"/bin/keychain
install -Dm600 keychain.1 "${TERMUX_PREFIX}"/share/man/man1/keychain.1
}