Skip to content

Commit

Permalink
bugfix script update path
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Gilles committed Sep 18, 2016
1 parent 4feba6d commit 91b299d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ module.exports.update = {
icon: 'fa fa-refresh',
iconColor: 'bg-light-blue',
link: '/dashboard/parameters',
updateScript: process.env.UPDATE_SCRIPT_PATH || `${__dirname}/rpi-update.sh`,
updateScript: process.env.UPDATE_SCRIPT_PATH || `${__dirname}/../rpi-update.sh`,
checkUpdateInterval: process.env.CHECK_UPDATE_INTERVAL || 24*60*60*1000
};

0 comments on commit 91b299d

Please sign in to comment.