blob: 0e12ea798235f373ed1c7352871cc239544dbeb5 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/usr/bin/env bash
set -euo pipefail
sudo mkdir -vp /mnt/{music,photos}
sudo mount -v --bind /mnt/media/music /mnt/music
sudo mount -v --bind /mnt/media/photos /mnt/photos
if [ ! -h ~/.cache/shotwell ]; then
ln -sv /mnt/photos/shotwell/ ~/.cache/shotwell
fi
|