chore: remove zen
Some checks failed
build-ublue-custom / Build and push image (push) Has been cancelled

This commit is contained in:
Bastien Riviere 2025-04-16 22:26:51 +02:00
parent 9d652f07f1
commit a5785c83a0
4 changed files with 0 additions and 51 deletions

View file

@ -1,27 +0,0 @@
#!/usr/bin/env bash
set -euo pipefail
SOURCE_DIR="/usr/lib/opt/"
TARGET_DIR="/var/opt/"
# Ensure the target directory exists
mkdir -p "$TARGET_DIR"
# Loop through directories in the source directory
for dir in "$SOURCE_DIR"*/; do
if [ -d "$dir" ]; then
# Get the base name of the directory
dir_name=$(basename "$dir")
# Check if the symlink already exists in the target directory
if [ -L "$TARGET_DIR/$dir_name" ]; then
echo "Symlink already exists for $dir_name, skipping."
continue
fi
# Create the symlink
ln -s "$dir" "$TARGET_DIR/$dir_name"
echo "Created symlink for $dir_name"
fi
done