~ubuntu-branches/ubuntu/trusty/hyperestraier/trusty

« back to all changes in this revision

Viewing changes to lab/estdiet

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2006-11-14 05:28:32 UTC
  • mfrom: (2.1.4 feisty)
  • Revision ID: james.westby@ubuntu.com-20061114052832-0lzqzcefn8mt4yqe
Tags: 1.4.9-1.1
* Non-maintainer upload.
* High-urgency upload for RC bugfix.
* Set HOME=$(CURDIR)/junkhome when building, otherwise the package build
  will incorrectly look for headers there -- and fail when the directory
  exists and is unreadable, as happens sometimes on sudo-using
  autobuilders!

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
# set variables
10
10
LANG=C ; export LANG
11
11
LC_ALL=C ; export LC_ALL
 
12
PATH="$PATH:/usr/local/lib:.:.." ; export PATH
 
13
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib:.:..:../.." ; export LD_LIBRARY_PATH
12
14
progname="estdiet"
13
15
 
14
16
 
29
31
 
30
32
 
31
33
# squeeze the database
 
34
[ -e "$1/_meta" ] && dpmgr optimize -na "$1/_meta"
32
35
if [ -e "$1/_idx" ]
33
36
then
34
37
  ls "$1/_idx" |
37
40
    dpmgr optimize -na "$1/_idx/$file"
38
41
  done
39
42
fi
 
43
[ -e "$1/_fwm" ] && dpmgr optimize -na "$1/_fwm"
 
44
[ -e "$1/_aux" ] && dpmgr optimize -na "$1/_aux"
 
45
[ -e "$1/_xfm" ] && dpmgr optimize -na "$1/_xfm"
40
46
[ -e "$1/_attr" ] && crmgr optimize -na "$1/_attr"
41
47
[ -e "$1/_text" ] && crmgr optimize -na "$1/_text"
 
48
[ -e "$1/_kwd" ] && crmgr optimize -na "$1/_kwd"
42
49
[ -e "$1/_list" ] && dpmgr optimize -na "$1/_list"
43
 
[ -e "$1/_fwm" ] && dpmgr optimize -na "$1/_fwm"
44
 
[ -e "$1/_meta" ] && dpmgr optimize -na "$1/_meta"
45
50
 
46
51
 
47
52
# exit normally