overlay/net-misc/mastodome/files/mastodon_wrapper.sh
tastytea 314883c130
net-misc/mastodome: New package
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07
2018-11-22 22:40:49 +01:00

9 lines
243 B
Bash

#!/bin/sh
if [[ ! -d ~/.local/share/mastodome ]]; then
mkdir -p ~/.local/share/mastodome/cache
cp -r /usr/share/mastodome/config/.defaults ~/.local/share/mastodome/defaults
fi
cd /usr/share/mastodome/
exec python3 ./mastodome.py "$@"