Subversion Repositories DevTools

Rev

Rev 3616 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3616 Rev 4535
Line 39... Line 39...
39
if [ ! -d "$PKGDIR" ]; then
39
if [ ! -d "$PKGDIR" ]; then
40
  echo "$0: Not a directory: $PKGDIR" 1>&2
40
  echo "$0: Not a directory: $PKGDIR" 1>&2
41
  exit 105
41
  exit 105
42
fi
42
fi
43
 
43
 
-
 
44
#
-
 
45
#   Package Post Install Process for known packages
-
 
46
#   These packages are generatally build system related
-
 
47
#
-
 
48
if [ "$2" = "core_devl" -o "$2" = "buildtool" ] ; then
44
if [ -f "$PKGDIR/PostInstall.sh" -a "$2" = "core_devl" ]; then
49
    if [ -f "$PKGDIR/PostInstall.sh" ]; then
45
  echo "PostInstall script found"
50
      echo "PostInstall script found"
46
  ( cd "$PKGDIR"; chmod +x PostInstall.sh; ./PostInstall.sh )
51
      ( cd "$PKGDIR"; chmod +x PostInstall.sh; ./PostInstall.sh "$archive" "$2" "$3" )
47
  echo "PostInstall script execution complete"
52
      echo "PostInstall script execution complete"
-
 
53
    fi
48
fi
54
fi
49
 
55
 
50
#
56
#
51
# Fix owner and perms on files and directories
57
# Fix owner and perms on files and directories
52
#   Do not do links
58
#   Do not do links