aboutsummaryrefslogtreecommitdiff
path: root/install.sh
blob: 54b897c622fc6c61285e71df721d0b04c9464cbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh -e

script_dir=$(dirname "$0")
cd "$script_dir"

RELEASE=1 ./build.sh

install -Dm755 "automedia" "/usr/bin/automedia"
for file in plugins/*; do
    install -Dm755 "$file" "/usr/share/automedia/$file"
done
install -Dm755 "fallback.json" "/usr/share/automedia/fallback.json"