Skip to content

Commit 7902a14

Browse files
committed
need to delete old binary before installing new one
1 parent 063ad90 commit 7902a14

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ install() {
104104
error "Binary not found in archive"
105105
fi
106106

107+
rm -f "$INSTALL_DIR/$BINARY_NAME"
107108
cp "$BINARY_PATH" "$INSTALL_DIR/$BINARY_NAME"
108109
chmod +x "$INSTALL_DIR/$BINARY_NAME"
109110

0 commit comments

Comments
 (0)