Skip to content
This repository was archived by the owner on Apr 11, 2018. It is now read-only.

Commit 0f5a63b

Browse files
committed
Include Ubuntu lib path (fixes #3)
1 parent 77b2b16 commit 0f5a63b

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/monodevelop-stable-uninstall

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,6 @@ rm /usr/bin/mdtool-stable
1313
rm /usr/bin/monodevelop-stable-uninstall
1414
rm /usr/share/applications/monodevelop-stable.desktop
1515
rm /usr/share/icons/hicolor/scalable/apps/monodevelop-stable.svg
16-
rm /usr/lib/libgit2-e8b8948.so
16+
17+
rm -f /usr/lib/libgit2-e8b8948.so
18+
rm -f /usr/lib/x86_64-linux-gnu/libgit2-e8b8948.so

src/postinstall.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#!/bin/bash
22

33
LIBPATH="/usr/lib"
4+
if [ -d "/usr/lib/x86_64-linux-gnu" ]
5+
then
6+
LIBPATH="/usr/lib/x86_64-linux-gnu"
7+
fi
8+
49
LIBGIT2="$(ls -x $LIBPATH | grep -m 1 libgit2.so)"
510

611
# Check installation priviledge

0 commit comments

Comments
 (0)