Skip to content

Commit

Permalink
Force symlinks instead of removing content first in xgterm postinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
olebole committed Jul 4, 2024
1 parent 5090ede commit 38726cf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions xgterm/scripts/postinstall
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ APP_PATH=$2
mkdir -p /usr/local/bin/ /usr/local/share/man/man1/ /usr/local/share/terminfo/78

XGTERM_PATH=${APP_PATH}/XGTerm.app/Contents/Resources
rm -f /usr/local/bin/xgterm /usr/local/share/man/man1/xgterm.1 /usr/local/share/terminfo/78/xgterm
ln -s ${XGTERM_PATH}/bin/xgterm /usr/local/bin/
ln -s ${XGTERM_PATH}/man/xgterm.1 /usr/local/share/man/man1/
ln -s ${XGTERM_PATH}/terminfo/78/xgterm /usr/local/share/terminfo/78/
ln -sf ${XGTERM_PATH}/bin/xgterm /usr/local/bin/
ln -sf ${XGTERM_PATH}/man/xgterm.1 /usr/local/share/man/man1/
ln -sf ${XGTERM_PATH}/terminfo/78/xgterm /usr/local/share/terminfo/78/

0 comments on commit 38726cf

Please sign in to comment.