summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author--global <ik.boikov.public@protonmail.com>2021-12-19 20:08:47 +0100
committer--global <ik.boikov.public@protonmail.com>2021-12-19 20:08:47 +0100
commitd08bc1edd1fbb4bc8899e8a6d7de45bffaca240f (patch)
tree1cad79c9b73e27ab90fc2d60d6ab961d4a66101c
parent61ce4ea3c7913703f17789b3f0d02beb3919e1e4 (diff)
firefox
-rwxr-xr-xinstall.sh21
1 files changed, 14 insertions, 7 deletions
diff --git a/install.sh b/install.sh
index 457bb99..edad189 100755
--- a/install.sh
+++ b/install.sh
@@ -32,10 +32,15 @@ umi_all() { \
umi "st"
umi "neovim"
umi "nnn" "master" "strip"
- umi "pamixer"
umi "devour"
umi "dragon"
+ cd "$SRCDIR/pamixer"
+ git pull
+ meson setup build
+ meson compile -C build
+ sudo meson install -C build
+
cd "$SRCDIR/digimend-kernel-drivers"
git pull
# TODO is it necessary to uninstall?
@@ -81,7 +86,7 @@ if [ "$1" = "i" ]; then
sudo apt-get -y install ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip curl
# required for pamixer
- sudo apt-get -y install libpulse0 libpulse-dev
+ sudo apt-get -y install meson libboost-dev libpulse0 libpulse-dev
# required for devour
sudo apt-get -y install libx11-dev
@@ -126,14 +131,16 @@ if [ "$1" = "f" ]; then
cd /usr/lib/firefox/browser/features
sudo rm *.xpi
- cd "$SRCDIR"
- git clone https://github.com/arkenfox/user.js
+ cp -r ~/.mozilla ~/.mozilla.bak
+
+ cd ~/.mozilla
+ FFPATH=$(dirname $(find ~/.mozilla -wholename "*release/prefs.js"));
+ cd "$FFPATH"
wget https://github.com/arkenfox/user.js/blob/master/updater.sh
wget https://github.com/arkenfox/user.js/blob/master/prefsCleaner.sh
wget https://github.com/ivan-boikov/user-overrides.js
- cp -r ~/.mozilla ~/.mozilla.bak
chmod +x updater.sh
chmod +x prefsCleaner.sh
- ./updater.sh
- ./prefsCleaner.sh
+ bash updater.sh
+ bash prefsCleaner.sh
fi