add check for missing busybox.distrib.version in prerm
[busybox-power] / debian / scripts / functions
index 436b277..13031d3 100644 (file)
@@ -42,5 +42,5 @@ CHECK_ROOT() {
 # Get the version string of the package providing /bin/busybox
 GETBBVERSION() {
     # XXX We assume the package "busybox" provides /bin/busybox
-    /usr/bin/dpkg -s busybox | awk '/^Version:/ {print $2}'
+    /usr/bin/dpkg -s busybox | $EXECPWR awk '/^Version:/ {print $2}'
 }