summaryrefslogtreecommitdiff
path: root/x11/kdebase3/patches/patch-bc
blob: 17d9675356fab8d8748d74fa3b74f9b52a1d510b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-bc,v 1.1.1.1 2002/05/31 13:18:59 skrll Exp $

--- kdesktop/kdeeject.orig	Sat May  5 21:05:58 2001
+++ kdesktop/kdeeject
@@ -1,6 +1,6 @@
 #!/bin/sh
 # Script used by kdesktop to eject a removable media (CDROM/Tape/SCSI/Floppy)
-# Relies on the 'eject' program, 'cdcontrol' on *BSD
+# Relies on the 'eject' program, 'cdcontrol' on FreeBSD
 #
 # Copyright GPL v2 by David Faure <david@mandrakesoft.com>
 #
@@ -13,7 +13,7 @@
   # I guess this is the reason for making this a kde app...
   OS=`uname -s`
   case "$OS" in
-    *BSD)
+    FreeBSD)
       dev=`echo $1 | sed -E -e 's#/dev/##' -e 's/([0-9])./\1/'`
       cdcontrol -f $dev eject >/dev/null 2>&1
       ;;