Skip to content

Commit

Permalink
Moves .env to ~/steam-backup.env
Browse files Browse the repository at this point in the history
  • Loading branch information
WisdomWolf committed Nov 8, 2022
1 parent 124d9a6 commit 4a7babe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions init-steam-backup-vars.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env bash
set -e

if [ -d ".env" ];then
export $(grep -v '^#' .env | xargs)
if [ -d "~/steam-backup.env" ];then
export $(grep -v '^#' ~/steam-backup.env | xargs)
fi

export STEAM_BKUPER_DIR="${STEAM_BKUPER_DIR:-$HOME/.local/share/steam-bkuper}"
Expand Down

0 comments on commit 4a7babe

Please sign in to comment.