add KFEditor.ini check
This commit is contained in:
parent
0e821f3dbb
commit
a741b23415
8
builder
8
builder
@ -244,8 +244,12 @@ function cleanup()
|
|||||||
|
|
||||||
function backup_kfeditorconf ()
|
function backup_kfeditorconf ()
|
||||||
{
|
{
|
||||||
msg "backup $(basename "$KFEditorConf") to $(basename "$KFEditorConfBackup")"
|
if [[ -e "$KFEditorConf" ]]; then
|
||||||
cp -f "$KFEditorConf" "$KFEditorConfBackup"
|
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 ()
|
function restore_kfeditorconf ()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user