add KFEditor.ini check
This commit is contained in:
parent
0e821f3dbb
commit
a741b23415
4
builder
4
builder
@ -244,8 +244,12 @@ function cleanup()
|
||||
|
||||
function backup_kfeditorconf ()
|
||||
{
|
||||
if [[ -e "$KFEditorConf" ]]; then
|
||||
msg "backup $(basename "$KFEditorConf") to $(basename "$KFEditorConfBackup")"
|
||||
cp -f "$KFEditorConf" "$KFEditorConfBackup"
|
||||
else
|
||||
die "$(basename "$KFEditorConf") not found! Run KF2 Editor to generate the config" 2
|
||||
fi
|
||||
}
|
||||
|
||||
function restore_kfeditorconf ()
|
||||
|
Loading…
x
Reference in New Issue
Block a user