mirror of
https://github.com/caprover/caprover
synced 2025-12-11 13:55:58 +00:00
12 lines
279 B
Bash
Executable File
12 lines
279 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if ! [ $(id -u) = 0 ]; then
|
|
echo "Must run as sudo or root"
|
|
exit 1
|
|
fi
|
|
|
|
# on macos Catalina and above, /captain is a symb link. we cannot remove the folder so we delete all files inside
|
|
# rm -rf /captain && mkdir /captain
|
|
rm -rf /captain/*
|
|
chmod -R 777 /captain/
|