mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2025-10-07 07:22:36 +02:00
Removes the arkenfox-auto-update script (#1442)
This commit is contained in:
parent
c43f390f07
commit
21c0122597
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user