Added touch command to create installed.json if not found.
Included error message for clarity.
This commit is contained in:
parent
fcf519dd68
commit
a50a99183b
1
zrep
1
zrep
@ -239,6 +239,7 @@ function zrep_installed_json() {
|
|||||||
|
|
||||||
# Check if installed.json exists
|
# Check if installed.json exists
|
||||||
if [[ ! -f "${config[main_zrep_install_dir]}/installed.json" ]]; then
|
if [[ ! -f "${config[main_zrep_install_dir]}/installed.json" ]]; then
|
||||||
|
touch ${config[main_zrep_install_dir]}/installed.json
|
||||||
zrep_msg debug "\nError: installed.json not found."
|
zrep_msg debug "\nError: installed.json not found."
|
||||||
return 1
|
return 1
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user