This repository has been archived by the owner on Oct 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
63 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -oeux pipefail | ||
|
||
echo "-- Touching up Vivaldi, assuming rpm installed --" | ||
|
||
rm /usr/bin/vivaldi-stable | ||
ln -s /usr/lib/opt/vivaldi/vivaldi /usr/bin/vivaldi-stable | ||
|
||
# Assumes Google Chrome installed via Flatpak | ||
rm /usr/lib/opt/vivaldi/WidevineCdm | ||
ln -s /var/lib/flatpak/app/com.google.Chrome/current/active/files/extra/WidevineCdm \ | ||
/usr/lib/opt/vivaldi/WidevineCdm | ||
|
||
echo "---" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -oeux pipefail | ||
|
||
RECIPE_FILE="/usr/share/ublue-os/recipe.yml" | ||
get_yaml_array() { | ||
mapfile -t "${1}" < <(yq -- "${2}" "${RECIPE_FILE}") | ||
} | ||
|
||
get_yaml_array optpackages '.rpm.optpackages[]' | ||
if [[ ${#optpackages[@]} -gt 0 ]]; then | ||
echo "-- Creating symlinks to fix packages that install to /opt --" | ||
mkdir -p "/var/opt" | ||
ln -s "/var/opt" "/opt" | ||
for optpackage in "${optpackages[@]}"; do | ||
optpackage="${optpackage%\"}" | ||
optpackage="${optpackage#\"}" | ||
|
||
mkdir -p "/usr/lib/opt/${optpackage}" | ||
ln -s "../../usr/lib/opt/${optpackage}" "/var/opt/${optpackage}" | ||
echo "Created symlinks for ${optpackage}" | ||
done | ||
echo "---" | ||
fi |
This file was deleted.
Oops, something went wrong.