summaryrefslogtreecommitdiff
path: root/libraries/libimobiledevice/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libimobiledevice/doinst.sh')
-rw-r--r--libraries/libimobiledevice/doinst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/libraries/libimobiledevice/doinst.sh b/libraries/libimobiledevice/doinst.sh
new file mode 100644
index 0000000000..d2a98714a6
--- /dev/null
+++ b/libraries/libimobiledevice/doinst.sh
@@ -0,0 +1,4 @@
+# remove existing fdi cache to recognize newly installed fdi files
+# and restart hal to regenerate the cache
+rm -f var/cache/hald/fdi-cache
+chroot . /etc/rc.d/rc.hald restart