From 9f9690822aaa0d597058cb622c9cb2d665aa3644 Mon Sep 17 00:00:00 2001 From: jticket1024 Date: Sat, 22 Oct 2016 12:53:24 -0800 Subject: [PATCH] Add a basic untested installer. --- install.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 install.sh diff --git a/install.sh b/install.sh new file mode 100644 index 00000000..4bd95d5a --- /dev/null +++ b/install.sh @@ -0,0 +1,22 @@ +#!/bin/bash +#Basic install script for fenrir. +read -p "This will install fenrir. Press ctrl+c to cancil, or enter to continue." continue +install -m755 -d /opt/fenrir + install -m755 -d /usr/share/fenrir/scripts + install -m644 -D "config/keyboard/desktop.conf" /etc/fenrir/keyboard/desktop.conf" + install -m644 -D "config/keyboard/desktop.conf" /etc/fenrir/keyboard/desktop.conf + install -m644 -D "config/punctuation/default.conf" /etc/fenrir/punctuation/default.conf + install -m644 -D "config/settings/settings.conf" /etc/fenrir/settings/settings.conf + install -d /usr/share/sounds/fenrir + install -m644 -D "autostart/systemd/fenrir.service" /usr/lib/systemd/system/fenrir.service + cp -a src/fenrir/* /opt/fenrir + cp -a config/scripts/* /usr/share/fenrir/scripts + cp -a config/sound/* /usr/share/sounds/fenrir +ln -s /opt/fenrir/fenrir-daemon /usr/bin/fenrir +cat << EOF +To have fenrir start at boot: +sudo systemctl enable fenrir +Pulseaudio users may want to run +/usr/share/fenrir/tools/configure-pulseaudio +once as their user account and once as root. +EOF