summaryrefslogtreecommitdiffstats
path: root/audio-drivers/oss
diff options
context:
space:
mode:
authorEthan Grammatikidis2008-11-20 06:23:20 +0000
committerEthan Grammatikidis2008-11-20 06:23:20 +0000
commit45fdca2f0842c74c7fe7e05590ceff8bdece85e1 (patch)
tree822e548dc316dfd14281d746b36b76b5bd4b5613 /audio-drivers/oss
parentf986883f56e81ce2f965542a28023994f0257b5f (diff)
oss: small partial fix to install
Diffstat (limited to 'audio-drivers/oss')
-rw-r--r--audio-drivers/oss/HISTORY5
-rwxr-xr-xaudio-drivers/oss/INSTALL8
2 files changed, 10 insertions, 3 deletions
diff --git a/audio-drivers/oss/HISTORY b/audio-drivers/oss/HISTORY
index aff81e7b75..f82aba1676 100644
--- a/audio-drivers/oss/HISTORY
+++ b/audio-drivers/oss/HISTORY
@@ -1,3 +1,8 @@
+2008-11-20 Ethan Grammatikidis <eekee57@fastmail.fm>
+ * INSTALL: only attempt to copy that fdi file if it exists
+ Also don't remove prototype/usr/share/hal if fdi file doesn't exist
+ NOTE: not a complete fix.
+
2008-07-15 Andraž "ruskie" Levstik <ruskie@mages.ath.cx>
* PREPARE, DEPENDS, PRE_BUILD: spell created
* BUILD, INSTALL, DETAILS, FINAL: spell created
diff --git a/audio-drivers/oss/INSTALL b/audio-drivers/oss/INSTALL
index aa86b24229..79d1b8c63d 100755
--- a/audio-drivers/oss/INSTALL
+++ b/audio-drivers/oss/INSTALL
@@ -1,5 +1,7 @@
cd $SOURCE_DIRECTORY.bld &&
-cp -a setup/Linux/oss/scripts/90-oss_usb-create-device.fdi \
- $INSTALL_ROOT/usr/share/hal/fdi/policy/ &&
-rm -rf prototype/usr/share/hal &&
+if [[ -e setup/Linux/oss/scripts/90-oss_usb-create-device.fdi ]] ; then
+ cp -a setup/Linux/oss/scripts/90-oss_usb-create-device.fdi \
+ $INSTALL_ROOT/usr/share/hal/fdi/policy/ &&
+ rm -rf prototype/usr/share/hal
+fi &&
make install