slackbuilds_ponce/system/Sl/doinst.sh
B. Watson 9cffe6a945
system/Sl: Added (ls with enhancements)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2020-11-22 01:14:20 +07:00

8 lines
218 B
Bash

# If there's no sl link, take over:
if [ ! -r usr/games/sl ]; then
( cd usr/bin ; rm -rf sl )
( cd usr/bin ; ln -sf Sl sl )
( cd usr/man/man1 ; rm -rf sl.1.gz )
( cd usr/man/man1 ; ln -sf Sl.1.gz sl.1.gz )
fi