Skip to content

Commit 3e7b912

Browse files
committed
[add] Not using suffix on target install script
1 parent 6720d44 commit 3e7b912

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

get.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ getPackage() {
9292
;;
9393
esac
9494

95-
targetFile="/tmp/$REPO$suffix"
95+
targetFile="/tmp/$REPO"
9696

9797
if [ "$userid" != "0" ]; then
98-
targetFile="$(pwd)/$REPO$suffix"
98+
targetFile="$(pwd)/$REPO"
9999
fi
100100

101101
if [ -e "$targetFile" ]; then
@@ -126,7 +126,7 @@ getPackage() {
126126
echo " following commands may need to be run manually."
127127
echo "============================================================"
128128
echo
129-
echo " sudo cp $REPO$suffix $BINLOCATION/$REPO"
129+
echo " sudo cp $REPO $BINLOCATION/$REPO"
130130

131131
if [ -n "$ALIAS_NAME" ]; then
132132
echo " sudo ln -sf $BINLOCATION/$REPO $BINLOCATION/$ALIAS_NAME"

0 commit comments

Comments
 (0)