diff --git a/build-a-pi b/build-a-pi index 20a60e0..63403d5 100755 --- a/build-a-pi +++ b/build-a-pi @@ -363,6 +363,11 @@ if [ ${BUT} = 3 ]; then done fi +HAMCLOCKOLD(){ +#This is old code left for reference. Added as a function that is never called instead of commenting out. +#This is no longer needed as the developer of hamclock changed the way it builds. Setting to less than +#fullscreen is an option inside the application as of early 2021 + #check if hamclock is being installed HCCHECK=$(grep "HAMCLOCK" ${ADDITIONAL}) if [ -n "$HCCHECK" ]; then @@ -376,6 +381,7 @@ if [ -n "$HCCHECK" ]; then sed -i 's/HAMCLOCK//' ${ADDITIONAL} echo $HC >>${ADDITIONAL} fi +} PATCHECK=$(grep "PAT" ${ADDITIONAL}) if [ -n "$PATCHECK" ]; then @@ -440,7 +446,7 @@ sudo apt -y full-upgrade #set wallpaper #fix issue 193 -sudo cp bap-wallpaper.jpg /usr/share/rpd-wallpaper/ +sudo cp $HOME/pi-build/bap-wallpaper.jpg /usr/share/rpd-wallpaper/ pcmanfm --set-wallpaper /usr/share/rpd-wallpaper/bap-wallpaper.jpg mkdir -p ${DIR} 2>/dev/null