chore: remove zen
Some checks failed
build-ublue-custom / Build and push image (push) Has been cancelled
Some checks failed
build-ublue-custom / Build and push image (push) Has been cancelled
This commit is contained in:
parent
9d652f07f1
commit
a5785c83a0
4 changed files with 0 additions and 51 deletions
12
build.sh
12
build.sh
|
@ -23,8 +23,6 @@ curl -Lo /etc/yum.repos.d/_copr_pgdev-ghostty-"${RELEASE}".repo https://copr.fed
|
|||
|
||||
curl -Lo /etc/yum.repos.d/_copr_alternateved-bleeding-emacs-"${RELEASE}".repo https://copr.fedorainfracloud.org/coprs/alternateved/bleeding-emacs/repo/fedora-"${RELEASE}"/alternateved-bleeding-emacs-fedora-"${RELEASE}".repo
|
||||
|
||||
curl -Lo /etc/yum.repos.d/_copr-sneexy-zen-browser-"${RELEASE}".repo https://copr.fedorainfracloud.org/coprs/sneexy/zen-browser/repo/fedora-"${RELEASE}"/sneexy-zen-browsder-fedora-"${RELEASE}".repo
|
||||
|
||||
curl -Lo /etc/yum.repos.d/_copr-ulysg-xwayland-satellite-"${RELEASE}".repo https://copr.fedorainfracloud.org/coprs/ulysg/xwayland-satellite/repo/fedora-"${RELEASE}"/ulysg-xwayland-satellite-fedora-"${RELEASE}".repo
|
||||
|
||||
curl https://downloads.1password.com/linux/keys/1password.asc | tee /etc/pki/rpm-gpg/1password.gpg
|
||||
|
@ -38,16 +36,6 @@ bash ./1password.sh
|
|||
|
||||
rm 1password.sh
|
||||
|
||||
### Fix for packages that install into /opt
|
||||
|
||||
mkdir -p /var/opt
|
||||
ln -sf /var/opt /opt
|
||||
|
||||
mkdir -p /usr/lib/opt/zen
|
||||
ln -sf /usr/lib/opt/zen /var/opt/zen
|
||||
|
||||
systemctl enable azure-optfix
|
||||
|
||||
### Install packages
|
||||
|
||||
grep -v '^#' /tmp/packages | xargs rpm-ostree install
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
[Unit]
|
||||
Description=Create symbolic links for directories in /usr/lib/opt/ to /var/opt/
|
||||
After=multi-user.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/libexec/azure-optfix
|
||||
RemainAfterExit=no
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
|
@ -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
|
1
packages
1
packages
|
@ -10,7 +10,6 @@ xwayland-satellite
|
|||
fprintd-pam
|
||||
|
||||
# apps
|
||||
zen-browser
|
||||
1password
|
||||
emacs
|
||||
foot
|
||||
|
|
Loading…
Add table
Reference in a new issue