style: format shell scripts

This commit is contained in:
darksaid98 committed 2025-09-16 16:53:11 +02:00
1 parent 65f79fe387
commit c410367d3b
23 files changed
+355 -371

No files matched your search

+7 -7
View File
@@ -9,7 +9,7 @@ log() {
echo "$(date +'%Y-%m-%d %H:%M:%S') - $1" | tee -a $LOGFILE
}
install_dep(){
install_dep() {
log "Installing dependencies..."
apt update && apt -y install \
build-essential \
@@ -58,22 +58,22 @@ install_amd64_multilib() {
exit 1
fi
log "Multilib AMD64 installed successfully"
log "Multilib AMD64 installed successfully"
}
# Function to install multilib support on arm64
install_arm64_multilib() {
apt -y install g++-multilib-x86-64-linux-gnu g++-aarch64-linux-gnu libc6-dev-armhf-cross
if [[ $? -ne 0 ]]; then
log "Failed to install amd multilib dependency"
exit 1
fi
log "Multilib ARM64 installed successfully"
log "Multilib ARM64 installed successfully"
}
clone_mumble(){
clone_mumble() {
log "Cloning the Mumble repository..."
# Create the necessary directories
@@ -105,7 +105,7 @@ clone_mumble(){
# Create and navigate to the build directory
mkdir -p build && cd build
echo "$LATEST_TAG" > latest_tag.txt
echo "$LATEST_TAG" >latest_tag.txt
# Run cmake with the specified options
cmake -Dbundled-opus=OFF -Dclient=OFF -Dstatic=ON -DCMAKE_BUILD_TYPE=Release ..
@@ -117,7 +117,7 @@ clone_mumble(){
log "Repository cloned and configured successfully"
}
build_mumble(){
build_mumble() {
log "Building Mumble server..."
cd /usr/src/mumble/git/build
+1 -1
View File
@@ -14,4 +14,4 @@ MODIFIED_STARTUP=$(echo -e $(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/
echo -e ":/home/container$ ${MODIFIED_STARTUP}"
# Run the Server
eval ${MODIFIED_STARTUP}
eval ${MODIFIED_STARTUP}