termux_step_install_license: fix link path
This commit is contained in:
parent
de23e4c2a8
commit
4c87b7a46c
@ -10,9 +10,9 @@ termux_step_install_license() {
|
||||
for LICENSE in "$(echo $TERMUX_PKG_LICENSE | sed 's/,/ /g')"; do
|
||||
if [ -f "$TERMUX_SCRIPTDIR/packages/termux-licenses/LICENSES/${LICENSE}.txt" ]; then
|
||||
if [[ $COUNTER > 0 ]]; then
|
||||
ln -sf "../LICENSES/${LICENSE}.txt" "$TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME/LICENSE.${COUNTER}"
|
||||
ln -sf "../../LICENSES/${LICENSE}.txt" "$TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME/LICENSE.${COUNTER}"
|
||||
else
|
||||
ln -sf "../LICENSES/${LICENSE}.txt" "$TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME/LICENSE"
|
||||
ln -sf "../../LICENSES/${LICENSE}.txt" "$TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME/LICENSE"
|
||||
fi
|
||||
fi
|
||||
COUNTER=$((COUNTER + 1))
|
||||
|
Loading…
Reference in New Issue
Block a user