mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-19 20:14:18 -04:00
[docs] Update FreeBSD script to not install systemd files
This commit is contained in:
parent
28ff1b71f2
commit
c464f01d58
@ -89,14 +89,10 @@ if [ "$yn" = "y" ]; then
|
||||
|
||||
export CFLAGS="-march=native -g -I/usr/local/include -I/usr/include"
|
||||
export LDFLAGS="-L/usr/local/lib -L/usr/lib"
|
||||
./configure && gmake
|
||||
./configure --disable-install-systemd && gmake
|
||||
|
||||
read -p "Should the script install owntone and add service startup scripts? [y/N] " yn
|
||||
if [ "$yn" = "y" ]; then
|
||||
if [ -f $CONFIG ]; then
|
||||
echo "Backing up old config file to $CONFIG.bak"
|
||||
sudo cp "$CONFIG" "$CONFIG.bak"
|
||||
fi
|
||||
sudo gmake install
|
||||
|
||||
sudo sed -i -- 's/\/var\/cache/\/usr\/local\/var\/cache/g' $CONFIG
|
||||
|
Loading…
x
Reference in New Issue
Block a user