OSDN Git Service

Bug fix for correcting restaration of failed packages.
authorMamoru Sakaue / MwGhennndo <glmwghennndo@users.sourceforge.jp>
Sun, 18 Nov 2012 06:31:11 +0000 (15:31 +0900)
committerMamoru Sakaue / MwGhennndo <glmwghennndo@users.sourceforge.jp>
Sun, 18 Nov 2012 06:31:11 +0000 (15:31 +0900)
modified:   portsreinstall
modified:   portsreinstall~

portsreinstall
portsreinstall~

index 9493bb3..1495b4a 100755 (executable)
@@ -10,7 +10,7 @@
 # ================================================
 
 APPNAME=`basename "$0"`
-MYVERSION=2.0.0+toward_2.0.1_20121118115119
+MYVERSION=2.0.0+toward_2.0.1_20121118153031
 
 PREFIX=${PREFIX:-/usr/local}
 CONFFILE=${PREFIX}/etc/${APPNAME}.conf
@@ -2483,7 +2483,7 @@ then
                                        if [ -n "$backedup_version" ]
                                        then
                                                echo "*** Restoring the backup of $backedup_version..."
-                                               if [ -e "${DBDIR}/backup_failure/$backedup_version.tbz" ]
+                                               if [ -e "${DBDIR}/backup_failure/$backedup_version.tbz" ]
                                                then
                                                        echo "WARNING: No backup exists, gave up." >&2
                                                elif pkg_add -fF "${DBDIR}/backup_failure/$backedup_version.tbz"
index 64ad798..8200fcc 100755 (executable)
@@ -10,7 +10,7 @@
 # ================================================
 
 APPNAME=`basename "$0"`
-MYVERSION=2.0.0+toward_2.0.1_20121118115001
+MYVERSION=2.0.0+toward_2.0.1_20121118115119
 
 PREFIX=${PREFIX:-/usr/local}
 CONFFILE=${PREFIX}/etc/${APPNAME}.conf
@@ -2483,7 +2483,7 @@ then
                                        if [ -n "$backedup_version" ]
                                        then
                                                echo "*** Restoring the backup of $backedup_version..."
-                                               if [ -e "${DBDIR}/backup_failure/$backedup_version.tbz" ]
+                                               if [ -e "${DBDIR}/backup_failure/$backedup_version.tbz" ]
                                                then
                                                        echo "WARNING: No backup exists, gave up." >&2
                                                elif pkg_add -fF "${DBDIR}/backup_failure/$backedup_version.tbz"