File: shell-lib-extensions.sh

package info (click to toggle)
libreoffice 4%3A26.2.2.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,839,520 kB
  • sloc: cpp: 4,398,825; xml: 499,253; java: 254,438; python: 81,885; ansic: 33,826; perl: 30,297; javascript: 19,722; sh: 12,046; makefile: 10,877; cs: 8,865; yacc: 8,549; objc: 2,131; lex: 1,385; asm: 1,231; awk: 996; pascal: 914; csh: 20; sed: 5
file content (12 lines) | stat: -rw-r--r-- 361 bytes parent folder | download | duplicates (8)
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
}