Mageia Bugzilla – Attachment 3964 Details for
Bug 2808
Sectool not configured for Mageia
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
root_dirs config file to make note of /.config directory exception
root_dirs.sh (text/plain), 556 bytes, created by
George Mitchell
on 2013-05-13 18:41:56 CEST
(
hide
)
Description:
root_dirs config file to make note of /.config directory exception
Filename:
MIME Type:
Creator:
George Mitchell
Created:
2013-05-13 18:41:56 CEST
Size:
556 bytes
patch
obsolete
>#!/usr/bin/env bash ># ># Copyright (C) 2008 Red Hat, Inc. ># Written by Peter Vrabec <pvrabec@redhat.com> > ># Modified by George Mitchell <george@chinilu.com> 05-13-2013 - Make exception for KDE's .config directory > >if (( ${DEBUG} == 1 )); then >. "${TESTS_DIRS}/bash_defs_debug.sh" >else >. "${TESTS_DIRS}/bash_defs.sh" >fi > >const ID_DOTINDIR=1 > >find / -maxdepth 1 -type d -name '.*' | while read dir; do > if [[ "${dir}" != "/.config" ]] > then > report 'ERROR' $ID_DOTINDIR "There should not be a \"${dir}\" directory under \"/\"" > fi >done > >test_exit ${E_OK} >
#!/usr/bin/env bash # # Copyright (C) 2008 Red Hat, Inc. # Written by Peter Vrabec <pvrabec@redhat.com> # Modified by George Mitchell <george@chinilu.com> 05-13-2013 - Make exception for KDE's .config directory if (( ${DEBUG} == 1 )); then . "${TESTS_DIRS}/bash_defs_debug.sh" else . "${TESTS_DIRS}/bash_defs.sh" fi const ID_DOTINDIR=1 find / -maxdepth 1 -type d -name '.*' | while read dir; do if [[ "${dir}" != "/.config" ]] then report 'ERROR' $ID_DOTINDIR "There should not be a \"${dir}\" directory under \"/\"" fi done test_exit ${E_OK}
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2808
:
3920
|
3926
|
3927
|
3936
|
3937
|
3938
|
3939
|
3940
|
3941
|
3942
|
3943
|
3944
|
3946
|
3947
|
3948
|
3952
|
3953
|
3954
|
3963
| 3964