mirror of
https://github.com/erenfro/xfconf.git
synced 2024-11-23 08:45:35 -05:00
Fixed typos in checks and improved consistency
This commit is contained in:
parent
58494a756c
commit
db41b2dc81
1 changed files with 2 additions and 2 deletions
|
@ -21,12 +21,12 @@ function showHelp {
|
||||||
}
|
}
|
||||||
|
|
||||||
function checks {
|
function checks {
|
||||||
if [[ -r "${infile}" ]]
|
if [[ ! -r "${infile}" ]]
|
||||||
then
|
then
|
||||||
echo "File '$infile' not found."
|
echo "File '$infile' not found."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
if ! test -x "$( which "${thisDEconf}" )"
|
if [[ ! -x "$( which "${thisDEconf}" )" ]]
|
||||||
then
|
then
|
||||||
echo "Error: Cannot find ${thisDEconf}"
|
echo "Error: Cannot find ${thisDEconf}"
|
||||||
exit 2
|
exit 2
|
||||||
|
|
Loading…
Reference in a new issue