Magellan Linux

Diff of /trunk/mage-buildserver/helper/buildserver-build-install-prerequisites.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2934 by niro, Wed Feb 3 11:55:44 2016 UTC revision 2935 by niro, Wed Feb 3 11:56:20 2016 UTC
# Line 81  else Line 81  else
81   die "smagefile '${SMAGESCRIPTSDIR}/${SMAGEFILE}' not found."   die "smagefile '${SMAGESCRIPTSDIR}/${SMAGEFILE}' not found."
82  fi  fi
83    
84    # don't want to run any exported post/preinstall or post/preremove
85    # functions of the smage here because they will be exported globally
86    # and honored by every package which does not override these function.
87    # the final package (the smage itself) will not be installed via this script,
88    # so these functions can be safely ignored.
89    for func in {pre,post}{install,remove}
90    do
91     if [[ $(typeset -f ${func}) ]]
92     then
93     unset "${func}"
94     fi
95    done
96    
97  # create build info dir  # create build info dir
98  install -d ${BUILDSERVER_CACHE_DIR}/build  install -d ${BUILDSERVER_CACHE_DIR}/build
99    

Legend:
Removed from v.2934  
changed lines
  Added in v.2935