Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pls-pnv
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
plaasio
pls-pnv
Commits
1aae5dc2
Commit
1aae5dc2
authored
Feb 06, 2020
by
plaasio
👷🏽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update build-raspi.sh
parent
d3b6c563
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
build-raspi.sh
build-raspi.sh
+16
-0
No files found.
build-raspi.sh
View file @
1aae5dc2
...
...
@@ -52,6 +52,20 @@ setapp
}
setapp
(){
cd
~
curl
-L
http://git.plaas.io/plaas/pls-pnv/raw/master/build-raspi.sh
>
new-pnv.sh
# Check for updates
UpdatesHashOld
=
$(
sha1sum
"pnv.sh"
|
cut
-d
" "
-f1
| xargs
)
UpdatesHashNew
=
$(
sha1sum
"new-pnv.sh"
|
cut
-d
" "
-f1
| xargs
)
if
[
"
$UpdatesHashOld
"
!=
"
$UpdatesHashNew
"
]
;
then
python ~/pls-pnv/lcd.py downloading updates..
sudo rm
-rf
pnv.sh
sudo cp
-f
new-pnv.sh pnv.sh
sudo chmod
+x pnv.sh
exec
$(
readlink
-f
"pnv.sh seyup"
)
exit
fi
python ~/pls-pnv/lcd.py updating plaas..
...
...
@@ -65,6 +79,8 @@ start
start
(){
python ~/pls-pnv/lcd.py starting plaas..
node ~/pls-pnv/pnv.js start
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment