Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/SoftEtherVPN/SoftEtherVPN_Stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorSahal Ansari <github@sahal.info>2014-03-31 11:43:37 +0400
committerSahal Ansari <github@sahal.info>2014-03-31 11:43:37 +0400
commit358357db1e15be923ca1e814816a3f765d1403a2 (patch)
tree66ca0234155658062d3a8b976e163c9ed378d70b /debian
parent8508f7c5943b4ef2265504117de6610bc8aa5541 (diff)
-z instead of -e for non-files
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/dch-generate.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/debian/dch-generate.sh b/debian/dch-generate.sh
index 124552c9..f86cbaa4 100755
--- a/debian/dch-generate.sh
+++ b/debian/dch-generate.sh
@@ -20,10 +20,10 @@ tzone="+09:00"
entry="* See: http://www.softether.org/5-download/history"
# are you a debian maintainer?
-if [ ! -e "$DEBFULLNAME" ]; then
+if [ -z "$DEBFULLNAME" ]; then
DEBFULLNAME="John Q. Sample"
fi
-if [ ! -e "$DEBEMAIL" ]; then
+if [ -z "$DEBEMAIL" ]; then
DEBEMAIL="tamade@example.org"
fi
@@ -61,6 +61,5 @@ echo
echo " ""$entry"
echo
echo " --"" ""$DEBFULLNAME"" <""$DEBEMAIL""> ""$date"
-echo
exit 0