mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-26 19:47:05 +02:00
delete old git before update
This commit is contained in:
@@ -46,6 +46,7 @@ if [ "${command}" == "check-repair" ]; then
|
||||
echo "# --> new kernel detected - checking if LCD driver needs update ..."
|
||||
if [ ${oldDrivers} -eq 1 ]; then
|
||||
echo "# --> old LCD driver detected - starting update ..."
|
||||
sudo rm -rf /home/admin/LCD-show
|
||||
cd /home/admin
|
||||
sudo -u admin git clone https://github.com/MrYacha/LCD-show.git
|
||||
sudo -u admin chmod -R 755 LCD-show
|
||||
|
Reference in New Issue
Block a user