This website works better with JavaScript.
Home
Help
Sign In
hms
/
rasoberry-noaa
mirror of
https://github.com/reynico/raspberry-noaa.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
8
Wiki
Activity
Browse Source
exit migration if demod.py exists (i.e. migration done before)
tags/v1.7
Nico Rey
3 years ago
parent
d946296eb9
commit
ab8107931e
1 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
migrations/20201292-iss.sh
+ 5
- 0
migrations/20201292-iss.sh
View File
@@ -11,6 +11,11 @@ fi
. "$HOME/.noaa.conf"
. "$NOAA_HOME/common.sh"
if [ -f "$NOAA_HOME/demod.py" ]; then
log "Seems like you already have run this migration before" "ERROR"
exit 1
fi
if [ ! -f "$NOAA_HOME/panel.db" ]; then
log "Seems like there's no panel.db database in your project folder" "ERROR"
exit 1
Write
Preview
Loading…
Cancel
Save