2
0
Fork 0
mirror of https://github.com/friendica/docker synced 2024-05-23 09:04:58 +02:00

Fixing update

- "exit 0" when explicit updating Friendica
This commit is contained in:
Philipp Holzer 2018-05-20 22:13:05 +02:00
parent f3b3fe5e39
commit 22a3d48c9f
No known key found for this signature in database
GPG key ID: 58160D7D6AF942B6
6 changed files with 18 additions and 0 deletions

View file

@ -89,7 +89,10 @@ if [ ! -f $WORKDIR/VERSION -o "$1" = "update" ]; then
# TODO Workaround because of a strange permission issue
rm -fr $WORKDIR/view/smarty3/compiled
elif [ "$1" = "update" ]; then
echo "Updating Friendica"
console "dbstructure update"
exit 0
fi
fi
fi

View file

@ -89,7 +89,10 @@ if [ ! -f $WORKDIR/VERSION -o "$1" = "update" ]; then
# TODO Workaround because of a strange permission issue
rm -fr $WORKDIR/view/smarty3/compiled
elif [ "$1" = "update" ]; then
echo "Updating Friendica"
console "dbstructure update"
exit 0
fi
fi
fi

View file

@ -89,7 +89,10 @@ if [ ! -f $WORKDIR/VERSION -o "$1" = "update" ]; then
# TODO Workaround because of a strange permission issue
rm -fr $WORKDIR/view/smarty3/compiled
elif [ "$1" = "update" ]; then
echo "Updating Friendica"
console "dbstructure update"
exit 0
fi
fi
fi

View file

@ -89,7 +89,10 @@ if [ ! -f $WORKDIR/VERSION -o "$1" = "update" ]; then
# TODO Workaround because of a strange permission issue
rm -fr $WORKDIR/view/smarty3/compiled
elif [ "$1" = "update" ]; then
echo "Updating Friendica"
console "dbstructure update"
exit 0
fi
fi
fi

View file

@ -89,7 +89,10 @@ if [ ! -f $WORKDIR/VERSION -o "$1" = "update" ]; then
# TODO Workaround because of a strange permission issue
rm -fr $WORKDIR/view/smarty3/compiled
elif [ "$1" = "update" ]; then
echo "Updating Friendica"
console "dbstructure update"
exit 0
fi
fi
fi

View file

@ -89,7 +89,10 @@ if [ ! -f $WORKDIR/VERSION -o "$1" = "update" ]; then
# TODO Workaround because of a strange permission issue
rm -fr $WORKDIR/view/smarty3/compiled
elif [ "$1" = "update" ]; then
echo "Updating Friendica"
console "dbstructure update"
exit 0
fi
fi
fi