diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2006-02-28 20:33:56 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2006-02-28 20:33:56 +0000 |
commit | df614bc1072bab1e245975c674e8cc240eac1b68 (patch) | |
tree | 334ea1ce3605829d59a5443dffff95e7c5a1b384 /distrib/miniroot/install.sub | |
parent | b1e8bb4c9ebabc3cf711027dac12d5ceb976b00b (diff) |
Remove old static X modules from previous versions. Patch by krw@, ok deraadt@
Diffstat (limited to 'distrib/miniroot/install.sub')
-rw-r--r-- | distrib/miniroot/install.sub | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 73df8a804e8..3967a979b7d 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.400 2006/01/19 03:30:04 deraadt Exp $ +# $OpenBSD: install.sub,v 1.401 2006/02/28 20:33:55 matthieu Exp $ # $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $ # # Copyright (c) 1997-2005 Todd Miller, Theo de Raadt, Ken Westerback @@ -968,6 +968,9 @@ __EOT echo "'$_f' did not install correctly." else DEFAULTSETS=$(rmel $_f $DEFAULTSETS) + # XXX Hack for 3.9. Remove old static X modules. + [[ $_f == xserv39.tgz ]] || continue + ( cd /mnt/usr/X11R6/lib/modules ; rm -f *.[ao] */*.[ao] ) fi done } |