summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorAndreas Mair <amair.sob@googlemail.com>2008-06-30 08:48:04 +0200
committerAndreas Mair <amair.sob@googlemail.com>2008-06-30 08:48:04 +0200
commit0f5234f89bea92523d7e8e3ec72bd5cb25dec19f (patch)
treed9f58f238cd000a91c66802115d63e5491a4ab15 /install.sh
parentd48934f53b4c3d3b0bb9087d87cc13b60b79839e (diff)
downloadvdradmin-am-3.6.2.tar.gz
vdradmin-am-3.6.2.tar.bz2
2008-06-30: 3.6.2v3.6.2
- Changed: No need to set the VFAT option in VDRAdmin-AM any longer as both filename codings will be searched for. - Fixed: some bugs in tv.html. - Fixed: command line options parsing. - Fixed: pattern titles that contain double quotes. - Fixed: timer titles that contain double quotes. - Added: new command line switch "--ipv6" to use IO::Socket::INET6 for networking (See bug report #462). - Updated: Dutch translation (Submitted by Roel Koelewijn). - Added: ST_STREAMDEV_HOST config option to set the name/ip to be used for streaming. - Fixed: m3u files for Xine (Reported by Robert C. Helling). - Updated: Italian translation (Submitted by Gringo). - Updated: Spanish translation (Submitted by RĂ¼diger Jung). - Updated: Finnish translation (Submitted by Rolf Ahrenberg). - Changed: include UTF8 locales by default. - Introduced new config options "GUI_POPUP_WIDTH" and "GUI_POPUP_HEIGHT" for setting the prog_detail's window size (Requested by Viking @vdr-portal.de). - Added prev/next arrows in prog_list after each day (Requested by Faudeer @vdr-portal.de). - Show channel in prog_list even if it's not in the current channel list; this is useful if prog_list is called by a link (e.g. timer_list) (Requested by Faudeer @vdr-portal.de). - Added support for modifying EPGSearch blacklists (Requested by dings @vdr-portal.de). - Show stream and switch buttons in prog_summary on channels without EPG information (Reported by Faudeer @vdr-portal.de). - Added: Show channelname in recording's details (Suggested by Stefan Seyfried). - Minor bugfixes and improvements.
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh18
1 files changed, 8 insertions, 10 deletions
diff --git a/install.sh b/install.sh
index 29180d8..73fb5e0 100755
--- a/install.sh
+++ b/install.sh
@@ -20,8 +20,6 @@ EPGIMAGES=${EPGIMAGES:-$VIDEODIR/epgimages}
VDRCONF=${VDRCONF:-$VIDEODIR}
EPGDATA=${EPGDATA:-$VIDEODIR/epg.data}
-LANGS="${LANGS:-cs de es fi fr it nl ru}"
-
function usage()
{
echo ""
@@ -138,10 +136,13 @@ function doInstall()
makeDir $MANDIR && cp vdradmind.pl.1 $MANDIR || exit 1
makeDir $ETCDIR || exit 1
- for lang in $LANGS
- do
- makeDir $LOCDIR/$lang/LC_MESSAGES/ && install -m 644 locale/$lang/LC_MESSAGES/vdradmin.mo $LOCDIR/$lang/LC_MESSAGES/vdradmin.mo || exit 1
- done
+ (
+ cd locale
+ for lang in *
+ do
+ makeDir $LOCDIR/$lang/LC_MESSAGES/ && install -m 644 $lang/LC_MESSAGES/vdradmin.mo $LOCDIR/$lang/LC_MESSAGES/vdradmin.mo || exit 1
+ done
+ )
local RESTART=
[ ! -e $BINDIR ] && mkdir -p $BINDIR
@@ -216,10 +217,7 @@ function doUninstall()
if [ -e $BINDIR/vdradmind.pl ]; then
rm -f $BINDIR/vdradmind.pl
fi
- for lang in $LANGS
- do
- [ -e $LOCDIR/$lang/LC_MESSAGES/vdradmin.mo ] && rm -f $LOCDIR/$lang/LC_MESSAGES/vdradmin.mo
- done
+ rm -f $LOCDIR/*/LC_MESSAGES/vdradmin.mo
echo ""
echo "VDRAdmin-AM has been uninstalled!"