kopia lustrzana https://github.com/km4ack/pi-build
fix issue #139
rodzic
e8235a9e08
commit
5e81de727a
|
@ -119,8 +119,10 @@ yad --form --width=500 --text-align=center --center --title="Build-a-Pi" --text-
|
||||||
--image $LOGO --window-icon=$LOGO --image-on-top --separator="|" --item-separator="|" \
|
--image $LOGO --window-icon=$LOGO --image-on-top --separator="|" --item-separator="|" \
|
||||||
--text="Real Time Clock already installed" \
|
--text="Real Time Clock already installed" \
|
||||||
--button=gtk-close
|
--button=gtk-close
|
||||||
exit 1
|
#exit statement here causes script to exit without finishing. Reference link next line
|
||||||
fi
|
#https://github.com/km4ack/pi-build/issues/139
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
IC2ACTIVE=$(ls /dev/*i2c*)
|
IC2ACTIVE=$(ls /dev/*i2c*)
|
||||||
|
|
||||||
|
@ -183,6 +185,7 @@ yad --form --width=500 --text-align=center --center --title="Build-a-Pi" --text-
|
||||||
--button=gtk-close
|
--button=gtk-close
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
fi #close first if/then statement
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue