Skip to content

Commit

Permalink
fix: script
Browse files Browse the repository at this point in the history
  • Loading branch information
fengyc committed Mar 24, 2024
1 parent 92df6de commit c637652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/pisugar-power-manager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ rpm_n=1

# since version 1.7.6, cargo deb add a deb_version "-1" to the deb file name
deb_version=""
if [ $(echo "$version\n1.7.6" | sort -V | head -n 1) == "1.7.6" ]; then
if [ $(echo -e "$version\n1.7.6" | sort -V | head -n 1) == "1.7.6" ]; then
deb_version="-1"
fi

Expand Down

0 comments on commit c637652

Please sign in to comment.