Fixed some capitalisation, slight wording and an echo stating name of settings.conf.bak
This commit is contained in:
parent
0cf57a5373
commit
c68a5ea34c
15
install.sh
15
install.sh
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
#Basic install script for fenrir.
|
||||
read -p "This will install fenrir. Press ctrl+c to cancel, or enter to continue." continue
|
||||
#Basic install script for Fenrir.
|
||||
read -p "This will install Fenrir. Press ctrl+c to cancel, or enter to continue." continue
|
||||
|
||||
# fenrir main application
|
||||
install -m755 -d /opt/fenrir
|
||||
@ -32,10 +32,11 @@ cp -a config/sound/template /usr/share/sounds/fenrir/template
|
||||
|
||||
# config
|
||||
if [ -f "/etc/fenrir/settings/settings.conf" ]; then
|
||||
echo "Do you want overwrite your current settings? (y/n)"
|
||||
echo "Do you want to overwrite your current global settings? (y/n)"
|
||||
read yn
|
||||
if [ $yn = "Y" -o $yn = "y" ]; then
|
||||
mv /etc/fenrir/settings/settings.conf /etc/fenrir/settings/settings.conf.bak
|
||||
echo "Your old settings.conf has been backed up to settings.conf.bak."
|
||||
install -m644 -D "config/settings/settings.conf" /etc/fenrir/settings/settings.conf
|
||||
else
|
||||
install -m644 -D "config/settings/settings.conf" /etc/fenrir/settings/settings.conf.current
|
||||
@ -45,16 +46,16 @@ fi
|
||||
|
||||
# end message
|
||||
cat << EOF
|
||||
Installation completed.
|
||||
Installation complete.
|
||||
install path:/opt/fenrir
|
||||
settings path:/etc/fenrir
|
||||
|
||||
To test fenrir
|
||||
To test Fenrir
|
||||
sudo systemctl start fenrir
|
||||
To have fenrir start at boot:
|
||||
To have Fenrir start on system 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.
|
||||
once as their user account, then once as root.
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user