Bläddra i källkod

checking for the existence of the file splash.png

pull/188/head
Wendell Borges 7 år sedan
förälder
incheckning
acd210b47c
1 ändrade filer med 4 tillägg och 1 borttagningar
  1. +4
    -1
      install.sh

+ 4
- 1
install.sh Visa fil

@@ -57,7 +57,10 @@ show_menu () {

fi

sudo mv ./config/splash.png /usr/share/plymouth/themes/pix/splash.png
# checking for file splash.png
if [ -e /usr/share/plymouth/themes/pix/splash.png ]; then
sudo mv ./config/splash.png /usr/share/plymouth/themes/pix/splash.png
fi

sed "s@#DIR#@${PWD}@g" config/craftbeerpiboot > /etc/init.d/craftbeerpiboot
chmod 755 /etc/init.d/craftbeerpiboot;


Laddar…
Avbryt
Spara