Skip to content

Commit faa0785

Browse files
authored
Merge pull request #650 from ldennington/fix-symlink-linux
fixup! fixup! Add install from source script
2 parents ef862d6 + 9022b99 commit faa0785

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/linux/Packaging.Linux/build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,14 +215,14 @@ mkdir -p "$INSTALL_TO" "$LINK_TO"
215215
# Copy all binaries and shared libraries to target installation location
216216
cp -R "$PAYLOAD"/* "$INSTALL_TO" || exit 1
217217

218-
if [ $INSTALL_FROM_SOURCE = false ]; then
219-
dpkg-deb --build "$DEBROOT" "$DEBPKG" || exit 1
220-
fi
221-
222218
# Create symlink
223219
if [ ! -f "$LINK_TO/git-credential-manager-core" ]; then
224220
ln -s -r "$INSTALL_TO/git-credential-manager-core" \
225221
"$LINK_TO/git-credential-manager-core" || exit 1
226222
fi
227223

224+
if [ $INSTALL_FROM_SOURCE = false ]; then
225+
dpkg-deb --build "$DEBROOT" "$DEBPKG" || exit 1
226+
fi
227+
228228
echo $MESSAGE

0 commit comments

Comments
 (0)