/[smeserver]/rpms/e-smith-base+ldap/sme7/e-smith-base+ldap-5.0.0-straysymlink.patch
ViewVC logotype

Contents of /rpms/e-smith-base+ldap/sme7/e-smith-base+ldap-5.0.0-straysymlink.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sat Jun 6 15:18:32 2009 UTC (15 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-base+ldap-5_0_0-9_el4_sme, e-smith-base+ldap-5_0_0-8_el4_sme, e-smith-base+ldap-5_0_0-7_el4_sme, e-smith-base+ldap-5_0_0-11_el4_sme, e-smith-base+ldap-5_0_0-10_el4_sme, HEAD
Error occurred while calculating annotation data.
Clean up stray symlinks in /lib/modules before depmod

1 --- e-smith-base-5.0.0/root/etc/e-smith/events/actions/conf-modules.straysymlink 2008-03-26 10:49:00.000000000 -0600
2 +++ e-smith-base-5.0.0/root/etc/e-smith/events/actions/conf-modules 2009-06-06 09:10:39.000000000 -0600
3 @@ -22,6 +22,10 @@
4
5 use strict;
6 use Errno;
7 +use File::Find;
8 +
9 +# Remove stale symlinks from /lib/modules
10 +finddepth(sub{unlink unless -e $_}, '/lib/modules/');
11
12 opendir(BOOT, "/boot") or die("Can't open /boot directory: $!\n");
13

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed