aboutsummaryrefslogtreecommitdiff
path: root/system/lhasa/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-08-06 18:42:35 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-06 18:42:35 +0700
commit644bd3f024fdfb7c8be51331c4573519cb610110 (patch)
tree3b15428abf0c5d47628066b779b48cf1969f2df9 /system/lhasa/doinst.sh
parent7408017fa321eff3a96f2ad339004af5a65b3d99 (diff)
system/lhasa: Added (replacement for UNIX LHA tool).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/lhasa/doinst.sh')
-rw-r--r--system/lhasa/doinst.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/system/lhasa/doinst.sh b/system/lhasa/doinst.sh
new file mode 100644
index 000000000000..e48f847b4119
--- /dev/null
+++ b/system/lhasa/doinst.sh
@@ -0,0 +1,5 @@
+# If there's no lha, take over:
+if [ ! -r usr/bin/lha ]; then
+ ( cd usr/bin ; ln -sf lhasa lha )
+ ( cd usr/man/man1 ; ln -sf lhasa.1.gz lha.1.gz )
+fi