Add a warning to the pleroma_ctl update
command
This commit is contained in:
parent
dc16e4af05
commit
a1be54d706
1 changed files with 13 additions and 0 deletions
|
@ -72,6 +72,19 @@ update() {
|
|||
esac
|
||||
done
|
||||
|
||||
echo "Warning: This command is NOT supported by BNAkkoma"
|
||||
echo "Any changes not made in the upstream will be lost!"
|
||||
echo "Do you want to continue anyway? (y/n)"
|
||||
read -r proceed_update
|
||||
case $proceed_update in
|
||||
[y]* )
|
||||
echo "Continue."
|
||||
;;
|
||||
* )
|
||||
echo "Exiting..."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
RELEASE_ROOT=$(dirname "$SCRIPTPATH")
|
||||
uri="https://akkoma-updates.s3-website.fr-par.scw.cloud"
|
||||
project_id="2"
|
||||
|
|
Loading…
Reference in a new issue