Removing FDM and wireguard. - bootstrap - Bootstrap script for my alpine linux desktop.
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit 2c0acb499c1c91f57c162c8c2feb7f11bac3b83b
 (DIR) parent 0056c6d1cb2e5312f41bfaa2b40d2485c367fb88
 (HTM) Author: Jay Scott <me@jay.scot>
       Date:   Sun,  9 Jul 2023 20:40:56 +0100
       
       Removing FDM and wireguard.
       
       Diffstat:
         M install.sh                          |      37 +++++--------------------------
       
       1 file changed, 5 insertions(+), 32 deletions(-)
       ---
 (DIR) diff --git a/install.sh b/install.sh
       @@ -13,18 +13,18 @@ apk update
        apk upgrade -a
        
        echo "── installing cli essentials"
       -apk add alpine-sdk curl doas wget git vim tar zip gzip p7zip bzip2 rsync less \
       -        build-base gnupg-dirmngr wireguard-tools iptables wireguard-tools-wg
       +apk add alpine-sdk curl doas wget git git-email vim tar zip gzip p7zip bzip2 \
       +        rsync less build-base gnupg-dirmngr
        
        echo "── installing wayland"
       -apk add wl-clipboard mesa-dri-gallium eudev font-hack seatd sway foot bemenu \
       -        xwayland
       +apk add wl-clipboard mesa-dri-gallium mesa-va-gallium eudev font-hack seatd \
       +        sway foot bemenu xwayland linux-firmware-amdgpu
        
        setup-devd udev
        
        echo "── installing tools"
        apk add shfmt shellcheck openssh gemget amfora yt-dlp pass fzf mpv zathura \
       -        qutebrowser firefox mutt sfeed lf
       +        qutebrowser firefox mutt newsboat lf
        
        echo "── installing audio"
        apk add pipewire-pulse pamixer dbus dbus-openrc pipewire wireplumber \
       @@ -58,22 +58,6 @@ if [ ! -d "/home/$user" ]; then
                cd $src/dotfiles && sh $user -c ./bootstrap.sh link
        fi
        
       -if [ ! -e /home/$user/bin/fdm ]; then
       -        echo "── build and install fdm"
       -        pkgver=2.1
       -        apk add tdb-dev openssl-dev zlib-dev bsd-compat-headers pcre-dev \
       -                automake autoconf libtool
       -        wget -P /tmp https://github.com/nicm/fdm/releases/download/$pkgver/fdm-$pkgver.tar.gz
       -        tar -zxvf /tmp/fdm-$pkgver.tar.gz -C $src
       -        cd $src/fdm-$pkgver || exit
       -        autoreconf -vif
       -        ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
       -                --enable-pcre --mandir=/usr/share/man
       -        make
       -        cp fdm /home/$user/bin
       -        chown -R $user:$user $src/fdm-$pkgver
       -fi
       -
        if [ ! -e /usr/local/bin/senpai ]; then
                echo "── build and install senpai"
                apk add go scdoc
       @@ -83,15 +67,6 @@ if [ ! -e /usr/local/bin/senpai ]; then
                make install
        fi
        
       -if [ ! -e /usr/local/bin/rdrview ]; then
       -        echo "── build and install rdrview"
       -        apk add libxml2-dev libseccomp-dev curl-dev lynx
       -        git clone https://github.com/eafer/rdrview.git $src/rdrview
       -        cd $src/rdrview || exit
       -        make
       -        make install
       -fi
       -
        if [ ! -e /usr/local/bin/castget ]; then
                echo "── build and install castget"
                src=/home/$user/src/castget
       @@ -112,5 +87,3 @@ rc-service seatd start
        
        rc-update add dbus default
        rc-service dbus start
       -
       -rc-update add iptables