karrot/abra.sh
Nick Sellen 3ad265ce56
All checks were successful
continuous-integration/drone/tag Build is passing
Update to karrot v15.2.0
- includes plugins
2024-06-24 23:45:55 +01:00

18 lines
379 B
Bash

fix-permissions() {
if [ "$(whoami)" != "root" ]; then
echo "error: you must be root to fix permissions"
echo "Try adding '--user root'"
exit 1
fi
echo "Fixing permissions"
echo "Making karrot the owner of uploads"
chown -R karrot:karrot /app/uploads
echo "Making karrot the owner of plugins"
chown -R karrot:karrot /app/plugins
echo "Done"
}