Skip to content

Commit

Permalink
fix libudev issue with i386
Browse files Browse the repository at this point in the history
  • Loading branch information
Romain committed Mar 10, 2015
1 parent 7713b11 commit fcbb9ff
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packaging/scripts/debian_postinst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ then
ln -s /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so.0
fi

# For ubuntu 32bit
# See https://github.com/rogerwang/node-webkit/wiki/The-solution-of-lacking-libudev.so.0
if [ ! -f /lib/i386-linux-gnu/libudev.so.0 ] && [ -f /lib/i386-linux-gnu/libudev.so.1 ];
then
ln -s /lib/i386-linux-gnu/libudev.so.1 /lib/i386-linux-gnu/libudev.so.0
fi


# Link to the binary
rm -f /usr/bin/cozy-desktop
Expand Down

0 comments on commit fcbb9ff

Please sign in to comment.