aboutsummaryrefslogtreecommitdiff
path: root/system/Sl/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/Sl/doinst.sh')
-rw-r--r--system/Sl/doinst.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/system/Sl/doinst.sh b/system/Sl/doinst.sh
new file mode 100644
index 000000000000..604a5c77f76f
--- /dev/null
+++ b/system/Sl/doinst.sh
@@ -0,0 +1,8 @@
+# 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
+