diff options
author | Jonas Smedegaard <dr@jones.dk> | 2003-07-24 22:55:08 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2003-07-24 22:55:08 +0000 |
commit | 06782c89be554b8e16cbb19c96c4623241bb0c00 (patch) | |
tree | b0f29ebf4d196eaa508add148615e796f04eff8c | |
parent | 1729c90ffd9cf44132aebc6d442b760090717c27 (diff) |
Update from LsDefaultOptions to the newer ListOptions.
-rw-r--r-- | cfengine/cf.services.ftp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cfengine/cf.services.ftp b/cfengine/cf.services.ftp index 669d2a9..90b152f 100644 --- a/cfengine/cf.services.ftp +++ b/cfengine/cf.services.ftp @@ -5,15 +5,15 @@ editfiles: DefineClasses "proftpd_reload" AbortAtLineMatching "^[[:blank:]]*VirtualHost[[:blank:]]*.*$" # - # LsDefaultOptions "-la" + # ListOptions "-la" # - WarnIfNoLineMatching "^[[:blank:]]*LsDefaultOptions[[:blank:]].*$" - BeginGroupIfNoLineMatching "^[[:blank:]]*LsDefaultOptions[[:blank:]].*$" - Append 'LsDefaultOptions "-la" # Added by cfengine' + WarnIfNoLineMatching "^[[:blank:]]*ListOptions[[:blank:]].*$" + BeginGroupIfNoLineMatching "^[[:blank:]]*ListOptions[[:blank:]].*$" + Append 'ListOptions "-la" # Added by cfengine' EndGroup - LocateLineMatching "^[[:blank:]]*LsDefaultOptions[[:blank:]].*$" - BeginGroupIfNoLineMatching '^[[:blank:]]*LsDefaultOptions[[:blank:]]"-la"([[:blank:]]+(#.*)?)?$' - ReplaceLineWith 'LsDefaultOptions "-la" # Edited by cfengine' + LocateLineMatching "^[[:blank:]]*ListOptions[[:blank:]].*$" + BeginGroupIfNoLineMatching '^[[:blank:]]*ListOptions[[:blank:]]"-la"([[:blank:]]+(#.*)?)?$' + ReplaceLineWith 'ListOptions "-la" # Edited by cfengine' EndGroup # # DefaultRoot ~ |