Skip to content

Commit

Permalink
GEOIPTMPDIR dan GEOIPDATADIR agar tidak tertimpa npm ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kucingbasah737 committed Nov 25, 2023
1 parent 9d04cef commit d6e42ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions update-geoip-database.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ if [ -z "MAXMIND_LICENSE_KEY" ]; then
exit 1
fi

export GEOTMPDIR
export GEODATADIR

cd node_modules/geoip-lite && npm run-script updatedb license_key=$MAXMIND_LICENSE_KEY

cd $STARDIR

0 comments on commit d6e42ec

Please sign in to comment.