Skip to content

Commit

Permalink
Bugfix for Debian (Jessie), which uses Samba 4.2, and has not libsamb…
Browse files Browse the repository at this point in the history
…a-debug.so.0. Fixes #155
  • Loading branch information
gboudreau committed Apr 20, 2016
1 parent 543ebb2 commit 916fc9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DEBIAN/postinst
Expand Up @@ -87,6 +87,8 @@ if [ "${MAJOR_SMB_VERSION}" = "4" ]; then
if [ ! -f ${TARGET_LIBDIR}/samba/libsamba-debug-samba4.so ]; then
if [ -f ${TARGET_LIBDIR}/samba/libsamba-debug.so.0 ]; then
ln -s ${TARGET_LIBDIR}/samba/libsamba-debug.so.0 ${TARGET_LIBDIR}/samba/libsamba-debug-samba4.so
elif [ -f ${TARGET_LIBDIR}/libsamba-util.so.0 ]; then
ln -s ${TARGET_LIBDIR}/libsamba-util.so.0 ${TARGET_LIBDIR}/samba/libsamba-debug-samba4.so
else
echo "Error: missing dependent library libsamba-debug.so.0 (libsamba-debug-samba4.so)"
exit -1
Expand Down

0 comments on commit 916fc9a

Please sign in to comment.