[frogdata] 01/01: Removed trailing a, simplified script

Maarten van Gompel proycon-guest at moszumanska.debian.org
Tue Jan 24 08:27:55 UTC 2017


This is an automated email from the git hooks/post-receive script.

proycon-guest pushed a commit to branch master
in repository frogdata.

commit 57bc162bfb32ede93198685fbab26ef251ae7208
Author: proycon <proycon at anaproy.nl>
Date:   Tue Jan 24 09:27:44 2017 +0100

    Removed trailing a, simplified script
---
 debian/frogdata.maintscript | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/debian/frogdata.maintscript b/debian/frogdata.maintscript
index bb7a9bd..c63bfcb 100755
--- a/debian/frogdata.maintscript
+++ b/debian/frogdata.maintscript
@@ -1,9 +1,6 @@
 #!/bin/sh
 #Data files moved to /usr/share instead of /etc, remove old:
-for subdir in "" "nld" "nl"; do #deal with three possible variants that have existed at some point
-    if [ ! -z "$subdir" ]; then
-        subdir="$subdir/"
-    fi
+for subdir in "" "nld/" "nl/"; do #deal with three possible variants that have existed at some point
     echo "rm_conffile /etc/frog/${subdir}Frog.mbdp.1.0.dir.ibase 0.13.7~"
     echo "rm_conffile /etc/frog/${subdir}Frog.mbdp.1.0.dir.ibase.wgt 0.13.7~"
     echo "rm_conffile /etc/frog/${subdir}Frog.mbdp.1.0.pairs.sampled.ibase 0.13.7~"
@@ -11,8 +8,8 @@ for subdir in "" "nld" "nl"; do #deal with three possible variants that have exi
     echo "rm_conffile /etc/frog/${subdir}Frog.mbdp.1.0.rels.ibase 0.13.7~"
     echo "rm_conffile /etc/frog/${subdir}Frog.mbdp.1.0.rels.ibase.wgt 0.13.7~"
     echo "rm_conffile /etc/frog/${subdir}Frog.mbt.1.0.1paxes 0.13.7~"
-    echo "rm_conffile /etc/frog/${subdir}Frog.mbt.1.0.known.dddwfWaw 0.13.7~"a
-    echo "rm_conffile /etc/frog/${subdir}Frog.mbt.1.0.known.dddwfWaw.wgt 0.13.7~"a
+    echo "rm_conffile /etc/frog/${subdir}Frog.mbt.1.0.known.dddwfWaw 0.13.7~"
+    echo "rm_conffile /etc/frog/${subdir}Frog.mbt.1.0.known.dddwfWaw.wgt 0.13.7~"
     echo "rm_conffile /etc/frog/${subdir}Frog.mbt.1.0.known.dddwfWawa.wgt 0.13.7~"
     echo "rm_conffile /etc/frog/${subdir}Frog.mbt.1.0.known.dddwfWawa 0.13.7~"
     echo "rm_conffile /etc/frog/${subdir}Frog.mbt.1.0.lex 0.13.7~"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/frogdata.git



More information about the debian-science-commits mailing list