remove bashism
This commit is contained in:
parent
98ffdfbb27
commit
1537f0f2ec
1 changed files with 2 additions and 2 deletions
|
@ -17,12 +17,12 @@
|
|||
BIN_DIR=$(dirname "$0")
|
||||
BIN_DIR=$(cd "$BIN_DIR"; pwd)
|
||||
|
||||
function disable_filecheck()
|
||||
disable_filecheck()
|
||||
{
|
||||
sed -i "s/^OVERRIDE_FILECHECK = .*$/OVERRIDE_FILECHECK = True/" "$BIN_DIR/CryptoBoxRootActions"
|
||||
}
|
||||
|
||||
function enable_filecheck()
|
||||
enable_filecheck()
|
||||
{
|
||||
sed -i "s/^OVERRIDE_FILECHECK = .*$/OVERRIDE_FILECHECK = False/" "$BIN_DIR/CryptoBoxRootActions"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue