tags 306990 patch
thanks

Hi folks,

How does this patch look?

Thanks,
-- 
Steve Langasek
postmodern programmer
diff -u devfsd-1.3.25/debian/changelog devfsd-1.3.25/debian/changelog
--- devfsd-1.3.25/debian/changelog
+++ devfsd-1.3.25/debian/changelog
@@ -1,3 +1,12 @@
+devfsd (1.3.25-22.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * High-urgency upload for sarge-targetted RC bugfix
+  * Make sure update-devfsd fails if called when the package is
+    obviously not yet configured.  Closes: #306990.
+
+ -- Steve Langasek <[EMAIL PROTECTED]>  Sat, 14 May 2005 03:17:41 -0700
+
 devfsd (1.3.25-22) unstable; urgency=low
 
   * templates localisations:
diff -u devfsd-1.3.25/debian/update-devfsd devfsd-1.3.25/debian/update-devfsd
--- devfsd-1.3.25/debian/update-devfsd
+++ devfsd-1.3.25/debian/update-devfsd
@@ -17,6 +17,11 @@
 fi
 }
 
+# if the directory doesn't exist, the package is probably not yet
+# configured; exit gracefully so packages calling this script 
+# opportunistically don't fail.
+[ -d /etc/devfs/symlinks.d ] || exit 0
+
 findfiles /etc/devfs/symlinks.d /etc/devfs/symlinks /etc/devfs/symlinks.list
 findfiles /etc/devfs/devices.d /etc/devfs/devices /etc/devfs/devices.list
 

Attachment: signature.asc
Description: Digital signature

Reply via email to