summaryrefslogtreecommitdiffstats
path: root/debian/shell-lib-extensions.sh
blob: b7acf0be4c531d8dbfc7a1a6bfb4eceee392078c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
validate_extensions() {
  INSTDIR=`mktemp -d`
  if HOME=$INSTDIR /usr/lib/libreoffice/program/unopkg list --bundled >/dev/null 2>/dev/null; then
	HOME=$INSTDIR /usr/lib/libreoffice/program/unopkg validate -v --bundled
  fi
}

make_lo_sync_extensions() {
	if [ -d /usr/lib/libreoffice/share/extensions ]; then
		touch /usr/lib/libreoffice/share/extensions
	fi
}