summarylogtreecommitdiffstats
path: root/blurry-text-fix-cairo
diff options
context:
space:
mode:
Diffstat (limited to 'blurry-text-fix-cairo')
-rwxr-xr-xblurry-text-fix-cairo8
1 files changed, 7 insertions, 1 deletions
diff --git a/blurry-text-fix-cairo b/blurry-text-fix-cairo
index e4d68082d523..e442e8ac80ed 100755
--- a/blurry-text-fix-cairo
+++ b/blurry-text-fix-cairo
@@ -1,3 +1,7 @@
+#!/bin/bash
+
+package_url="https://codeberg.org/Tomkoid/tomkoid-repo/raw/branch/main/x86_64/cairo-1.16.0-2-x86_64.pkg.tar.xz"
+
if [ "$(id -u)" != 0 ]; then
echo "####################################"
echo "You need to run this command as root"
@@ -5,4 +9,6 @@ if [ "$(id -u)" != 0 ]; then
exit 1
fi
-pacman -U 'https://gitlab.com/Tomkoid/tomkoid-repo/x86_64/cairo-1.16.0-2-x86_64.pkg.tar.xz'
+wget $package_url -O /tmp/cairo.pkg.tar.xz
+pacman -U /tmp/cairo.pkg.tar.xz
+rm /tmp/cairo.pkg.tar.xz