File tree 2 files changed +9
-3
lines changed
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 5
5
export BASEDIR=" /opt/openhabian"
6
6
export DEBIAN_FRONTEND=" noninteractive"
7
7
export PREOFFLINE=" 1"
8
+ debfileurl=" https://davesteele.github.io/comitup/deb"
9
+ debfile=" davesteele-comitup-apt-source"
10
+ debfilelatest=" latest.deb"
11
+ debfilestatic=" 1.2_all.deb"
8
12
comitupurl=https://davesteele.github.io/comitup/deb/
9
13
comitupfile=davesteele-comitup-apt-source_1.2_all.deb
10
14
comituprepofile=/etc/apt/sources.d/comitup.list
@@ -14,8 +18,10 @@ add_keys "https://openhab.jfrog.io/artifactory/api/gpg/key/public" "openhab"
14
18
echo " deb [signed-by=/usr/share/keyrings/openhab.gpg] https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable main" > /etc/apt/sources.list.d/openhab.list
15
19
16
20
# comitup hotspot
17
- wget -nv " ${comitupurl} /$comitupfile "
18
- dpkg -i --force-all " $comitupfile "
21
+ # wget -nv "${comitupurl}/$comitupfile"
22
+ # dpkg -i --force-all "$comitupfile"
23
+ wget -nv " ${debfileurl} /${debfile} _${debfilelatest} " || wget -nv " ${debfileurl} /${debfile} _${debfilestatic} "
24
+ dpkg -i --force-all " ${debfile} *.deb"
19
25
rm -f " $comitupfile "
20
26
if [[ ! -f ${comituprepofile} ]]; then
21
27
# echo "deb http://davesteele.github.io/comitup/repo comitup main" > $comituprepofile
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ configure_wifi() {
122
122
123
123
124
124
setup_hotspot () {
125
- local debfileurl=" https://davesteele.github.io/comitup/latest "
125
+ local debfileurl=" https://davesteele.github.io/comitup/deb "
126
126
local debfile=" davesteele-comitup-apt-source"
127
127
# local debfile="davesteele-comitup-apt-source_1.2_all.deb"
128
128
local debfilelatest=" latest.deb"
You can’t perform that action at this time.
0 commit comments