# ================================================
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
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"
# ================================================
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
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"