summaryrefslogtreecommitdiff
path: root/newplugin
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-09-10 11:12:51 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2015-09-10 11:12:51 +0200
commit75f28cb0cb66543419a0952eb1988c626ecd7e9e (patch)
tree6293e4b2724f0c06388e490b1209004ddce0bb3a /newplugin
parent9e58503aee4cde6d3a4a9c290dda7da307aa1e5c (diff)
downloadvdr-75f28cb0cb66543419a0952eb1988c626ecd7e9e.tar.gz
vdr-75f28cb0cb66543419a0952eb1988c626ecd7e9e.tar.bz2
The 'newplugin' script now creates the 'po' subdirectory for translations
Diffstat (limited to 'newplugin')
-rwxr-xr-xnewplugin3
1 files changed, 2 insertions, 1 deletions
diff --git a/newplugin b/newplugin
index 8f7087e9..d8e9243c 100755
--- a/newplugin
+++ b/newplugin
@@ -12,7 +12,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
-# $Id: newplugin 3.2 2014/01/01 13:29:54 kls Exp $
+# $Id: newplugin 4.1 2015/09/10 11:11:14 kls Exp $
$PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n";
@@ -330,6 +330,7 @@ $PLUGINDIR = "$PLUGINS_SRC/$PLUGIN_NAME";
die "The directory $PLUGINS_SRC doesn't exist!\n" unless (-d "$PLUGINS_SRC");
die "A plugin named '$PLUGIN_NAME' already exists in $PLUGINS_SRC!\n" if (-e "$PLUGINDIR");
mkdir("$PLUGINDIR") || die "$!";
+mkdir("$PLUGINDIR/po") || die "$!";
CreateFile("README", $README);
CreateFile("HISTORY", $HISTORY);