Skip to content

Commit b35ff1f

Browse files
committed
fix file checks
1 parent d819063 commit b35ff1f

7 files changed

Lines changed: 17 additions & 17 deletions

File tree

app/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,10 @@ clean {
133133
task downloadBootstraps(){
134134
doLast {
135135
def version = 20
136-
downloadBootstrap("aarch64", "5e96bb4dcb51556528940ddf970f91fac205a3f50bbbe1e7272943b8edc14772", version)
137-
downloadBootstrap("arm", "a3bd45af0d77921fcf4a05a0ded9988d22c3ff2bddcc68b5a3ae4505e293ece", version)
138-
downloadBootstrap("i686", "9e634b59380a712c654f8b9d6ec8f50e94a2f49d01b729e96e4fb3adaa68f15", version)
139-
downloadBootstrap("x86_64", "2620ae3dd9d86bfddf897251d90800bf4e65125a343808e708ddb4f7c0de02ac", version)
136+
downloadBootstrap("aarch64", "b2b0ab324c52c405dd8b367a6edc347cc97d8ca8db505542df5bb5a1f34c817f", version)
137+
downloadBootstrap("arm", "d37dc8ba7084bc5e423b235e3f71c75988dbe4b0fc8f926964cdc9c4651ceae1", version)
138+
downloadBootstrap("i686", "f1a65fed91ce60419c3c04f5c3b25ce68c7ed8f16074a4113d44b9f70e7c806b", version)
139+
downloadBootstrap("x86_64", "4f6899a42667b91fbb83dc36575287f9781a4702ba1e4c373c28fe76887a14b5", version)
140140
}
141141
}
142142

bootstrap/bootstrap-aarch64.zip

5 Bytes
Binary file not shown.

bootstrap/bootstrap-arm.zip

5 Bytes
Binary file not shown.

bootstrap/bootstrap-i686.zip

5 Bytes
Binary file not shown.

bootstrap/bootstrap-x86_64.zip

5 Bytes
Binary file not shown.

bootstrap/changes.zip

5 Bytes
Binary file not shown.

bootstrap/changes/tel/setup.sh

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ error() {
1818
printf "\033[0;%sm%s\033[0m\033[0;%sm%s\033[0m\n" "${WHITE}" "[TEL]: " "${RED}" "${1}"
1919
}
2020

21-
if [ -f "~/.tel/.installed" ]; then #set update var if finished installation was detected
21+
if [ -f ~/.tel/.installed ]; then #set update var if finished installation was detected
2222
UPDATE=true
2323
log "updating TEL setup"
2424
log "updating app launcher"
@@ -69,19 +69,19 @@ if [ "$UPDATE" = false ]; then #if first start detected
6969
cp -rf ~/../usr/tel/.termux/* ~/.termux/
7070
cp -rf ~/../usr/tel/.tel/* ~/.tel/
7171
cp -rf ~/../usr/tel/.byobu/.tmux.conf ~/.byobu/
72-
fi
73-
log "updating configs"
74-
error "hit ENTER to continue, type no to skip(not recommended)"
75-
read update_configs
76-
if [ ! "$update_configs" = "no" ]; then
77-
cp -rf ~/../usr/tel/.byobu/* ~/.byobu/
78-
cp -rf ~/../usr/tel/.termux/* ~/.termux/
79-
cp -rf ~/../usr/tel/.byobu/.tmux.conf ~/.byobu/
80-
fi
72+
else
73+
log "updating configs"
74+
error "hit ENTER to continue, type no to skip(not recommended)"
75+
read update_configs
76+
if [ ! "$update_configs" = "no" ]; then
77+
cp -rf ~/../usr/tel/.byobu/* ~/.byobu/
78+
cp -rf ~/../usr/tel/.termux/* ~/.termux/
79+
cp -rf ~/../usr/tel/.byobu/.tmux.conf ~/.byobu/
80+
fi
8181

82-
cp -rf ~/../usr/tel/.tel/* ~/.tel/
82+
cp -rf ~/../usr/tel/.tel/* ~/.tel/
83+
fi
8384

84-
cd ~
8585

8686
log "updating permissions"
8787

@@ -90,7 +90,7 @@ chmod +x ~/.tel/status.sh
9090
chmod +x ~/../usr/bin/tel-applist
9191
chmod +x ~/../usr/bin/tel-setup
9292

93-
if [ -f "~/../usr/etc/motd_finished" ]; then
93+
if [ -f ~/../usr/etc/motd_finished ]; then
9494
mv ~/../usr/etc/motd_finished ~/../usr/etc/motd #set final motd
9595
fi
9696

0 commit comments

Comments
 (0)