Skip to content

Commit 7bc1907

Browse files
committed
Fix feedback from shellcheck
1 parent 54f62b7 commit 7bc1907

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

install.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ ldddns_install() {
1515
}
1616
trap cleanup EXIT
1717

18-
echo -n Finding latest package name...
19-
package=$(curl --proto =https --fail -sSL "https://github.com/arnested/ldddns/releases/latest/download/checksums.txt" | grep -i $(uname -s) | grep $(dpkg --print-architecture) | grep \.deb | awk '{print $2}')
20-
echo " $package"
18+
echo -n "Finding latest package name..."
19+
package=$(curl --proto =https --fail -sSL "https://github.com/arnested/ldddns/releases/latest/download/checksums.txt" | grep -i "$(uname -s)" | grep "$(dpkg --print-architecture)" | grep \.deb | awk '{print $2}')
20+
echo " ${package}"
2121

22-
echo Downloading $package...
22+
echo "Downloading ${package}..."
2323
curl --proto =https --fail --location --progress-bar --output "${tmpdir}/${package}" "https://github.com/arnested/ldddns/releases/latest/download/${package}"
2424

25-
echo Installing $package...
25+
echo "Installing ${package}..."
2626
pkexec dpkg -i "${tmpdir}/${package}"
2727
}
2828

0 commit comments

Comments
 (0)