Skip to content

Commit

Permalink
Minor tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
nan0s7 committed Jun 23, 2018
1 parent 7f3eaf9 commit 3729499
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions update.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
echo "~~ nan0s7's fan-speed curve script updater script ~~"

declare -a exempt_vers=( 15 )
declare -a exempt_vers=( 15 16 )

finish() {
unset git_version
Expand Down Expand Up @@ -52,7 +52,7 @@ update_everything() {
`git clone https://github.com/nan0s7/nfancurve`
if [ -f "config.txt" ]; then
for i in `seq 0 $[ ${exempt_vers[@]} - 1 ]`; do
if [ "$local_version" -eq "${exempt_vers[$i]}" ]; then
if [ "$local_version" -le "${exempt_vers[$i]}" ]; then
no_overwrite="1"
fi
done
Expand Down

0 comments on commit 3729499

Please sign in to comment.