mirror of
https://github.com/friendica/docker
synced 2025-01-06 10:12:19 +01:00
Fixing update
- "exit 0" when explicit updating Friendica
This commit is contained in:
parent
f3b3fe5e39
commit
22a3d48c9f
6 changed files with 18 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue