Create empty file for contactsfile if missing

master
Miles Alan 4 years ago
parent a011bed9b8
commit 435a1e74f1
  1. 1
      scripts/core/sxmo_contacts.sh

@ -10,6 +10,7 @@ CONTACTSFILE="$XDG_CONFIG_HOME"/sxmo/contacts.tsv
LOGFILE="$XDG_CONFIG_HOME"/sxmo/modem/modemlog.tsv
contacts() {
grep -q . "$CONTACTSFILE" || echo " " > "$CONTACTSFILE"
RECENTCONTACTEDNUMBERSREVCHRON="$(
cut -f3 "$LOGFILE" |
tac |

Loading…
Cancel
Save