Skip to content

Commit

Permalink
Clean up RPi workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
NEMS Linux committed Feb 24, 2019
1 parent 929bcde commit ff3f6b9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
11 changes: 0 additions & 11 deletions build/160-raspi-config

This file was deleted.

7 changes: 7 additions & 0 deletions build/160-rpi-raspi-config
Expand Up @@ -4,6 +4,13 @@ echo $0 > /var/www/html/userfiles/nems-build.cur
platform=$(/usr/local/bin/nems-info platform)

if [[ $platform < 10 ]]; then

# Try apt first
echo "Installing raspi-config... "
apt update
apt -y install raspi-config

# if failed, install from debpack
if [ ! $(dpkg-query -W -f='${Status}' raspi-config 2>/dev/null | grep -c "ok installed") -eq 1 ]; then
wget -O /tmp/raspi-config.deb http://archive.raspberrypi.org/debian/pool/main/r/raspi-config/raspi-config_20180406+1_all.deb
apt -y install libnewt0.52
Expand Down
File renamed without changes.

0 comments on commit ff3f6b9

Please sign in to comment.