summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-01-24 21:21:16 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2014-01-24 23:25:26 +0100
commita4b53c3c3a96a7609e410430f9ee8faf1e3c62a0 (patch)
tree256ea92069760de021f44f8954c5ac23e7cb6ea7
parentae71bd3d289a08b47100e94830e87090aaf3ce4d (diff)
backports: fix uninstall filenamev3.13-1
Upstream commit: 1256d3ea1856aca94f82486714758c82c60f92fb The uninstall script calculated the filename in the wrong way. It added the current working dir into the file name, this resulted in names like this: /lib/modules/2.6.32-431.3.1.el6.x86_64/updates//home/hauke/backports-20140124/drivers/net/wireless/ipw2x00/ipw2100.ko The correct one would be this /lib/modules/2.6.32-431.3.1.el6.x86_64/updates/drivers/net/wireless/ipw2x00/ipw2100.ko Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rwxr-xr-xbackport/scripts/uninstall.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/backport/scripts/uninstall.sh b/backport/scripts/uninstall.sh
index 99f74ab1..1eb42b0b 100755
--- a/backport/scripts/uninstall.sh
+++ b/backport/scripts/uninstall.sh
@@ -11,7 +11,7 @@ else
fi
for driver in $(find ${BACKPORT_PWD} -type f -name *.ko); do
- mod_name=${KLIB}${KMODDIR}/${driver}${compr}
+ mod_name=${driver/${BACKPORT_PWD}/${KLIB}${KMODDIR}}${compr}
echo " uninstall" $mod_name
rm -f $mod_name
done