[med-svn] [sprai] 05/12: Allow scripts to be called without language extensions
Afif Elghraoui
afif at moszumanska.debian.org
Fri Apr 15 08:34:39 UTC 2016
This is an automated email from the git hooks/post-receive script.
afif pushed a commit to branch master
in repository sprai.
commit b5c1ba01a7f03a7261ab22531d395e4a370d211f
Author: Afif Elghraoui <afif at ghraoui.name>
Date: Fri Apr 15 00:25:30 2016 -0700
Allow scripts to be called without language extensions
---
debian/rules | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/debian/rules b/debian/rules
index 2120a21..c2f92fa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,6 +22,13 @@ override_dh_install:
cd $(CURDIR)/debian/sprai/usr/bin \
&& mv * ../lib/sprai/ \
&& mv ../lib/sprai/ezez* .
+ cd $(CURDIR)/debian/sprai/usr/bin \
+ && \
+ for script in *; \
+ do \
+ mv $$script $$(basename $$script .pl) \
+ && ln -sf $$(basename $$script .pl) $$script; \
+ done
dh_install
override_dh_auto_clean:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/sprai.git
More information about the debian-med-commit
mailing list