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

Annotation of /rpms/e-smith-base+ldap/sme8/e-smith-base+ldap-5.2.0-straysymlink.patch

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


Revision 1.1 - (hide 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_2_0-11_el5_sme, e-smith-base+ldap-5_2_0-13_el5_sme, e-smith-base+ldap-5_2_0-10_el5_sme, e-smith-base+ldap-5_2_0-15_el5_sme, e-smith-base+ldap-5_2_0-12_el5_sme, e-smith-base+ldap-5_2_0-16_el5_sme, e-smith-base+ldap-5_2_0-18_el5_sme, e-smith-base+ldap-5_2_0-9_el5_sme, e-smith-base+ldap-5_2_0-8_el5_sme, e-smith-base+ldap-5_2_0-7_el5_sme, e-smith-base+ldap-5_2_0-17_el5_sme, e-smith-base+ldap-5_2_0-14_el5_sme, HEAD
Clean up stray symlinks in /lib/modules before depmod

1 slords 1.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