SPECS: hotplug.spec - forgot about removing digicams definitions w...
Jakub Bogusz
qboosh w pld-linux.org
Pią, 6 Sie 2004, 16:55:39 CEST
On Fri, Aug 06, 2004 at 02:53:16PM +0000, zergin wrote:
> Author: zergin Date: Fri Aug 6 14:53:16 2004 GMT
> Module: SPECS Tag: HEAD
> ---- Log message:
> - forgot about removing digicams definitions when uninstalling..
>
> @@ -147,6 +147,14 @@
> /usr/lib/libgphoto2/print-usb-usermap digicam | grep -v '#' >> $usermap
> fi
>
> +%postun digicam
> +usermap="%{_sysconfdir}/hotplug/usb.usermap"
> +tmpusermap="/tmp/usermap.$$"
> +if [ -f "$usermap" ]; then
> + grep -v "digicam" $usermap > $tmpusermap
vulnerable
> + mv $tmpusermap $usermap
> +fi;
> +
Po uaktualnieniu też ma usuwać?
--
Jakub Bogusz http://cyber.cs.net.pl/~qboosh/
Więcej informacji o liście dyskusyjnej pld-devel-pl