really fox postinst

This commit is contained in:
dschmenk 2013-10-06 20:53:38 -07:00
parent 1de36be251
commit 9cfc955674
2 changed files with 7 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
a2pi (0.1.1-4) unstable; urgency=low
* Fix update to /boot/cmdline.txt (again) - thanks Ivan Drucker!
-- David Schmenk <dschmenk@gmail.com> Sun, 6 Oct 2013 14:31:35 -0700
a2pi (0.1.1-3) unstable; urgency=low
* Fix update to /boot/cmdline.txt - thanks Ivan Drucker!

2
debian/postinst vendored
View File

@ -24,7 +24,7 @@ case "$1" in
# Update /boot partition files.
#
if [ "$(grep ttyAMA0 /boot/cmdline.txt)" != "" ] ; then
mv /boot/cmdline.txt /boot/cmdline.bak
cp /boot/cmdline.txt /boot/cmdline.bak
sed -i 's/console=ttyAMA0,[0-9]* kgdboc=ttyAMA0,[0-9]* //g' /boot/cmdline.txt
fi
#