source:
npl/system/usbutils/post.usbutils
@
cd5d2d4
Last change on this file since cd5d2d4 was c5c522c, checked in by , 8 years ago | |
---|---|
|
|
File size: 239 bytes |
Rev | Line | |
---|---|---|
[c5c522c] | 1 | #!/bin/sh |
2 | #(c) DatuX, GPL v3 | |
3 | cd /var/log/packages || exit 1 | |
4 | for oldpackage in `ls | grep ^"usbutils-[0-9]\."`; | |
5 | do | |
6 | removepkg $oldpackage || exit 1 | |
7 | done | |
8 | /usr/sbin/update-usbids.sh -q || exit 1 | |
9 | #update file caching | |
10 | hash -r || exit 1 | |
11 | ||
12 | exit 0 |
Note: See TracBrowser
for help on using the repository browser.