Re: [PATCH v2] backports: re-introduce make uninstall

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jun 16, 2013 at 4:52 PM, ASIC Felix <ic.felix@xxxxxxxxx> wrote:
> diff --git a/backport/scripts/uninstall.sh b/backport/scripts/uninstall.sh
> new file mode 100755
> index 0000000..2dcf4da
> --- /dev/null
> +++ b/backport/scripts/uninstall.sh
> @@ -0,0 +1,17 @@
> +#!/bin/bash
> +
> +set -e
> +
> +source ./scripts/mod_helpers.sh
> +
> +if test "$(mod_filename mac80211)" = "mac80211.ko.gz" ; then
> +       compr=".gz"
> +else
> +       compr=""
> +fi
> +
> +for driver in $(find -type f -name *.ko); do

Looks good except for the path here, as it is this would search from
the current path, no?

> +       mod_name=$KLIB"updates/"$driver$compr

and to make things clearer, can you do ${driver}${compr}

> +       echo UNINSTALLING $mod_name

No need for caps please.

  Luis
--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux