summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlessio Artoni <34690870+aartoni@users.noreply.github.com>2025-02-28 15:11:42 +0100
committerGitHub <noreply@github.com>2025-02-28 14:11:42 +0000
commit21c0122597ad67da79d4935f9a4bd61d919f20ae (patch)
treef9e7749eca401db89f283b1c55050ee3dcf4e981
parentc43f390f07098c42db5efce654b07870951b512a (diff)
downloadeibhear-21c0122597ad67da79d4935f9a4bd61d919f20ae.tar.gz
eibhear-21c0122597ad67da79d4935f9a4bd61d919f20ae.tar.zst
eibhear-21c0122597ad67da79d4935f9a4bd61d919f20ae.zip
Removes the arkenfox-auto-update script (#1442)
-rwxr-xr-x.local/bin/arkenfox-auto-update23
1 files changed, 0 insertions, 23 deletions
diff --git a/.local/bin/arkenfox-auto-update b/.local/bin/arkenfox-auto-update
deleted file mode 100755
index 7664a4f..0000000
--- a/.local/bin/arkenfox-auto-update
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-# A wrapper for the arkenfox-updater that runs it on all pre-existing Arkenfox
-# user.js files on the machine.
-
-# On installation of LARBS, this file is copied to /usr/local/lib/ where it is
-# run by a pacman hook set up. The user should not have to run this manually.
-
-# Search for all Firefox and Librewolf profiles using Arkenfox.
-profiles="$(grep -sH "arkenfox user.js" \
- /home/*/.librewolf/*.default-release/user.js \
- /home/*/.mozilla/firefox/*.default-release/user.js)"
-
-IFS='
-'
-
-# Update each found profile.
-for profile in $profiles; do
- userjs=${profile%%/user.js*}
- user=$(stat -c '%U' "$userjs") || continue
-
- su -l "$user" -c "arkenfox-updater -c -p $userjs -s"
-done