Skip to content

Commit

Permalink
Merge branch 'master' of github.com:adafruit/pi_bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
toddtreece committed Feb 2, 2015
2 parents f71fd38 + 862ad35 commit 462193c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
7 changes: 7 additions & 0 deletions packages/occidentalis/DEBIAN/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
occidentalis (0.6.0) unstable; urgency=low

* migrates apt repository to apt.adafruit.com
* bumps occi version dependency to add flags

-- Brennen Bearnes <bbearnes@gmail.com> Mon, 02 Feb 2015 14:09:23 -0700

occidentalis (0.5.7) unstable; urgency=low

* bumps suggested webide version
Expand Down
4 changes: 2 additions & 2 deletions packages/occidentalis/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Package: occidentalis
Version: 0.5.7
Version: 0.6.0
Section: base
Priority: optional
Architecture: armhf
Depends: avahi-daemon (>= 0.6.31), netatalk (>= 2.2.2), node (>= 0.10.35), occi (>= 0.5.0), tmux (>= 1.6-2), i2c-tools, python-smbus, vim, git, samba, samba-common-bin
Depends: avahi-daemon (>= 0.6.31), netatalk (>= 2.2.2), node (>= 0.10.35), occi (>= 0.5.1), tmux (>= 1.6-2), i2c-tools, python-smbus, vim, git, samba, samba-common-bin
Suggests: adafruitwebide (>= 0.3.10)
Maintainer: Todd Treece <todd@uniontownlabs.org>
Description: Occidentalis
Expand Down
11 changes: 11 additions & 0 deletions packages/occidentalis/DEBIAN/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,14 @@ if ! grep -Fq "pihome" /etc/samba/smb.conf; then
EOF
service samba restart
fi

# Migrate from apt.uniontownlabs.org to apt.adafruit.com
if grep -q 'apt.uniontownlabs.org' /etc/apt/sources.list; then
echo "Migrating to apt.adafruit.com from apt.uniontownlabs.org"
sed -i '/apt.uniontownlabs.org/d' /etc/apt/sources.list

if ! grep -q 'apt.adafruit.com' /etc/apt/sources.list; then
echo "deb http://apt.adafruit.com/raspbian/ wheezy main" >> /etc/apt/sources.list
fi
wget -O - -q https://apt.adafruit.com/apt.adafruit.com.gpg.key | apt-key add -
fi

0 comments on commit 462193c

Please sign in to comment.