rm -fv /home/iank/.mpv/watch_later
rm -rf /home/iank/.mpv
-
if [[ ! -e ~/.local/bin/pip ]]; then
tmp=$(mktemp)
wget -O$tmp https://bootstrap.pypa.io/get-pip.py
hash -r
fi
+## begin beets
+# soo, apt install beets fails due to wanting a pip package,
+# we find out why it wants this through
+# apt-cache depends --recurse --no-recommends --no-suggests --no-conflicts --no-breaks --no-replaces --no-enhances beets | less
+# python-mediafile requires tox, which requires virtualenv, which requires pip.
+# but, python-mediafile doesn't really require tox, it is specified in
+# ./usr/lib/python3/dist-packages/mediafile-0.9.0.dist-info/METADATA
+# as being required only for testing, but the debian package
+# included it anyways, due to a mistake or bad tooling or something.
+# I don't plan to use tox, so, according to https://serverfault.com/a/251091,
+# we can create and install a dummy package by:
+#
+# "equivs-control <name>, edit the file produced to provide the right
+# dependency and have a nice name, then run equivs-build <name> and
+# finally dpkg -i the resulting .deb file"
+
+mkct
+# edited from output of equivs-control tox
+cat >tox <<'EOF'
+Section: python
+Priority: optional
+Standards-Version: 3.9.2
+Package: tox
+Description: tox-dummy
+EOF
+equivs-build tox
+sudo dpkg -i tox_1.0_all.deb
+rm -rf ./tox*
+pi beets python3-discogs-client
+
+
# notes about barrier
# run barrier, do the gui config,
# setup the 2 screens, using hostnames for the new screen.
sudo install -m 0755 -o root -g root -t /usr/bin /a/opt/bitcoin-23.0/bin/*
sgo bitcoind
sudo usermod -a -G bitcoin iank
- # todo, link in wallet. see
+ sudo ln -s /q/wallets /var/lib/bitcoind
+ # note, there exists
# /a/bin/ds/disabled/bitcoin
;;
esac