Skip to content

Commit

Permalink
RPi: Fix build for Kano OS
Browse files Browse the repository at this point in the history
Add extra build step introduced by
1e4365c to the offline packaging. Also
resolve browserify issues to fix general build issues introduced by
35028d9.
  • Loading branch information
tombettany committed Feb 15, 2017
1 parent 0e01504 commit a140a23
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
dh $@

override_dh_auto_build:
# NodeJS and npm
cd po && ./lang-extract-doc-strings
cd po && ./lang-extract-strings
# NodeJS and npm
cd po && ./lang-extract-doc-strings
cd po && ./lang-extract-strings
curl --silent --location https://deb.nodesource.com/setup_0.12 | bash -
apt-get install --yes nodejs
npm install
./node_modules/bower/bin/bower --allow-root install
NODE_ENV=production OFFLINE=true npm run build
dh_lintian

Expand Down
2 changes: 1 addition & 1 deletion lib/controller/auth-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ app.controller('AuthController', ['$scope', '$rootScope', '$element', 'API', 'AU

$scope.mode = 'login';
$scope.toggleMode = function () {
$scope.mode = $scope.mode === 'login' ? 'signup' : 'login';:querySelector('query')
$scope.mode = $scope.mode === 'login' ? 'signup' : 'login';
};

$scope.onSuccess = function (ev) {
Expand Down

0 comments on commit a140a23

Please sign in to comment.