I just walk someone through the installation of this ppa, good work by the way, and a tiny problem rose up.
It seems that bitbucket changed its archive structure and that triggered a bug in /usr/share/r5u87x/r5u87x-download-firmware.sh
line 79:
cd r5u87x
should be changed to:
cd ahixon-r5u87x-a9b2171d762b
or adding a tiny bit of code in order to prevent this to happen again if bitbucket decide to change its archive structure again, here is a "diff -Nur r5u87x-download-firmware.sh.old r5u87x-download-firmware.sh":
Hi there,
I just walk someone through the installation of this ppa, good work by the way, and a tiny problem rose up.
It seems that bitbucket changed its archive structure and that triggered a bug in /usr/share/ r5u87x/ r5u87x- download- firmware. sh
line 79:
cd r5u87x
should be changed to: r5u87x- a9b2171d762b
cd ahixon-
or adding a tiny bit of code in order to prevent this to happen again if bitbucket decide to change its archive structure again, here is a "diff -Nur r5u87x- download- firmware. sh.old r5u87x- download- firmware. sh":
####### ####### ####### ###### download- firmware. sh.old 2011-04-07 19:50:30.360790179 +0200 download- firmware. sh 2011-04-07 20:22:52.406547732 +0200
--- r5u87x-
+++ r5u87x-
@@ -75,8 +75,9 @@
exit 1
fi
${DOWNLOADER} $URL 2>/dev/null || { echo "Failed downloading firmware from $URL" >&2; exit 1; }
+TARDIR=$(tar -tf ${REVISION}.gz | grep -o '^[^/]\+' | sort -u)
tar xzf ${REVISION}.gz
-cd r5u87x
+cd ${TARDIR}
# copy firmware ####### ####### ######
echo "Installing..."
#######
Have a nice day :)