/[smeserver]/rpms/e-smith-ibays/sme10/e-smith-ibays-2.6.0-create_var_cache_and_fix_sess.patch
ViewVC logotype

Diff of /rpms/e-smith-ibays/sme10/e-smith-ibays-2.6.0-create_var_cache_and_fix_sess.patch

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

Revision 1.1 by unnilennium, Sun Jun 26 16:30:04 2016 UTC Revision 1.2 by unnilennium, Sun Jun 26 17:43:08 2016 UTC
# Line 46  diff -Nur e-smith-ibays-2.6.0.old/root/e Line 46  diff -Nur e-smith-ibays-2.6.0.old/root/e
46  +    #we test the condition if ibay folder exists  +    #we test the condition if ibay folder exists
47  +    unless (-d $path )  +    unless (-d $path )
48       {       {
49           mkdir $path, 0700 or warn "Could not create dir $path: $!";           mkdir $path, 0600 or warn "Could not create dir $path: $!";
50           chown $uid, $gid, $path or warn "Could not chown dir $path: $!";           chown $uid, $gid, $path or warn "Could not chown dir $path: $!";
51       }       }
52  -    #we test the condition if /session exists or if it is disabled in the Ibay  -    #we test the condition if /session exists or if it is disabled in the Ibay
# Line 56  diff -Nur e-smith-ibays-2.6.0.old/root/e Line 56  diff -Nur e-smith-ibays-2.6.0.old/root/e
56  +    #we test the condition if /tmp exists  +    #we test the condition if /tmp exists
57  +    unless (-d $path)  +    unless (-d $path)
58  +    {  +    {
59  +        mkdir $path, 0700 or warn "Could not create dir $path: $!";  +        mkdir $path, 0600 or warn "Could not create dir $path: $!";
60  +        chown $uid, $gid, $path or warn "Could not chown dir $path: $!";  +        chown $uid, $gid, $path or warn "Could not chown dir $path: $!";
61  +    }  +    }
62  +      +    
# Line 64  diff -Nur e-smith-ibays-2.6.0.old/root/e Line 64  diff -Nur e-smith-ibays-2.6.0.old/root/e
64  +    #we test the condition if /session exists  +    #we test the condition if /session exists
65  +    unless (-d $path)  +    unless (-d $path)
66       {       {
67           mkdir $path, 0700 or warn "Could not create dir $path: $!";           mkdir $path, 0600 or warn "Could not create dir $path: $!";
68           chown $uid, $gid, $path or warn "Could not chown dir $path: $!";           chown $uid, $gid, $path or warn "Could not chown dir $path: $!";


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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