aboutsummaryrefslogtreecommitdiff
path: root/multimedia/droidcam/doinst.sh
blob: 02d9e036da698c5f52290e462e559ff4f7b9a04c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
if [ -x /usr/bin/update-desktop-database ]; then
  /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi

if [ -x /usr/bin/update-mime-database ]; then
  /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi

if [ -d /opt/droidcam-1.7.2 ]; then
  cd /opt/droidcam-1.7.2 && ./install-video >/dev/null 2>&1
fi

if [ -d /opt/droidcam-1.7.2 ]; then
  cd /opt/droidcam-1.7.2 && ./install-sound >/dev/null 2>&1
fi