vdr: fix old config import.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 18 May 2013 14:51:59 +0000 (16:51 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 18 May 2013 14:51:59 +0000 (16:51 +0200)
src/paks/vdr/update.sh

index 2e116083f022c1643285d65088718e50bbda8cc9..62338975e2db023a72370df3c3f971cc10c1e39c 100644 (file)
@@ -29,7 +29,7 @@ OLD_DIR="/opt/vdr/etc"
 NEW_DIR="/etc/vdr"
 
 for conf in ${OLD_DIR}/*.conf; do
-       [ -f "${conf}" ] && continue
+       [ -f "${conf}" ] || continue
 
        conf="$(basename ${conf})"
        mv -b "${OLD_DIR}/${conf}" "${NEW_DIR}/${conf}"