Weilbyte
4 years ago
No known key found for this signature in database
GPG Key ID: E1EB2BFCF73B5B9F
1 changed files with
5 additions and
0 deletions
-
PVEDiscordDark.sh
|
@ -20,6 +20,11 @@ BASE_URL="https://raw.githubusercontent.com/$REPO/$TAG" |
|
|
#endregion Consts |
|
|
#endregion Consts |
|
|
|
|
|
|
|
|
#region Prerun checks |
|
|
#region Prerun checks |
|
|
|
|
|
if [[ $EUID -ne 0 ]]; then |
|
|
|
|
|
echo -e >&2 "${BRED}Root privileges are required to perform this operation${REG}"; |
|
|
|
|
|
exit 1 |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
hash sed 2>/dev/null || { |
|
|
hash sed 2>/dev/null || { |
|
|
echo -e >&2 "${BRED}sed is required but missing from your system${REG}"; |
|
|
echo -e >&2 "${BRED}sed is required but missing from your system${REG}"; |
|
|
exit 1; |
|
|
exit 1; |
|
|