Skip to content

Commit

Permalink
Fix tokens logic
Browse files Browse the repository at this point in the history
  • Loading branch information
batden committed Apr 29, 2024
1 parent 9142e30 commit 04ec742
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions elluminate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,10 @@ e_bkp() {
}

e_tokens() {
TOKEN=$(wc -l <$HOME/.cache/ebuilds/etokens)

echo $(date +%s) >>$HOME/.cache/ebuilds/etokens

TOKEN=$(wc -l <$HOME/.cache/ebuilds/etokens)

if [ "$TOKEN" -gt 3 ]; then
echo
# Questions: Enter either y or n, or press Enter to accept the default value (capital letter).
Expand Down Expand Up @@ -571,7 +571,7 @@ do_tests() {
fi

if ! test -d "$HOME/.cache/ebuilds"; then
mkdir -p "$HOME/.cache/ebuilds/etokens"
mkdir -p "$HOME/.cache/ebuilds"
fi
}

Expand Down

0 comments on commit 04ec742

Please sign in to comment.