feat(bash): several chores to bash scripts: (#23250)

This commit is contained in:
Yehonal
2025-10-15 02:10:14 +02:00
committed by GitHub
parent 87deaf7159
commit cfc8678843
6 changed files with 115 additions and 22 deletions

View File

@@ -156,6 +156,8 @@ function comp_compile() {
echo "Setting permissions on binary files"
find "$AC_BINPATH_FULL" -mindepth 1 -maxdepth 1 -type f -exec $SUDO chown root:root -- {} +
find "$AC_BINPATH_FULL" -mindepth 1 -maxdepth 1 -type f -exec $SUDO chmod u+s -- {} +
$SUDO setcap cap_sys_nice=eip "$AC_BINPATH_FULL/worldserver"
$SUDO setcap cap_sys_nice=eip "$AC_BINPATH_FULL/authserver"
fi
[[ -f "$confDir/worldserver.conf.dist" ]] && \