~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to debian/blender-wrapper

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2005-11-06 12:40:03 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051106124003-3pgs7tcg5rox96xg
Tags: 2.37a-1.1
* Non-maintainer upload.
* Split out parts of 01_SConstruct_debian.dpatch again: root_build_dir
  really needs to get adjusted before the clean target runs - closes: #333958,
  see #288882 for reference

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
    ln -sf /usr/lib/blender/scripts/* ~/.blender/scripts/
22
22
fi
23
23
 
 
24
 
25
# In case the user's ~/.blender came from older versions, some files 
 
26
# should be reinstalled.
 
27
#
 
28
 
 
29
if [ $(cat ~/.blender/VERSION) != $(cat /usr/lib/blender/VERSION) ]; then
 
30
    cp -a /usr/lib/blender/bpydata ~/.blender
 
31
    ln -sf /usr/lib/blender/scripts/* ~/.blender/scripts/
 
32
    cp -a /usr/lib/blender/VERSION ~/.blender
 
33
fi
 
34
 
 
35
#
 
36
# Fully update the plugins every time blender is launched.
 
37
#
 
38
 
 
39
for s in /usr/lib/blender/scripts/* ; do
 
40
    s=`basename $s`
 
41
    if [ ! -e ~/.blender/scripts/$s ] ; then
 
42
         ln -sf /usr/lib/blender/scripts/$s ~/.blender/scripts/
 
43
    fi
 
44
done
 
45
 
24
46
blender-bin $@