Партнерка на США и Канаду по недвижимости, выплаты в крипто

  • 30% recurring commission
  • Выплаты в USDT
  • Вывод каждую неделю
  • Комиссия до 5 лет за каждого referral

        rm oxygen\${OXYGENXML_VERSION}-patches. tar. gz

        fi

        if [ - d patches ]; then

        echo "Applying Wallix patches to OxygenXML webhelp plugin"

        quilt push - a

        rm - rf patches

        fi

        cd..

       fi

       if [ ! - d \$VIRTUAL_ENV_DIR/${build_virtualenv}/opt/apache-ant-\${ANT_VERSION} ]; then

        echo "Getting Apache Ant \${ANT_VERSION}"

        if [ - f \$HOME/apache-ant-\${ANT_VERSION}-bin. tar. gz ]; then

        tar xzf \$HOME/apache-ant-\${ANT_VERSION}-bin. tar. gz

        else

        wget - q http://archive. apache. org/dist/ant/binaries/apache-ant-\${ANT_VERSION}-bin. tar. gz

        tar xzf apache-ant-\${ANT_VERSION}-bin. tar. gz

        rm apache-ant-\${ANT_VERSION}-bin. tar. gz

        fi

       fi

       if [ ! - d \$VIRTUAL_ENV_DIR/${build_virtualenv}/opt/saxonb9.1.0.8j ]; then

        echo "Getting SaxonB 9.1.0.8j"

        if [ - f \$HOME/saxonb9-1-0-8j. zip ]; then

        mkdir saxonb9.1.0.8j

        cd saxonb9.1.0.8j

НЕ нашли? Не то? Что вы ищете?

        unzip - q \$HOME/saxonb9-1-0-8j. zip

        cd..

        else

        wget - q http:///projects/saxon/files/Saxon-B/9.1.0.8/saxonb9-1-0-8j. zip/download - O saxonb9-1-0-8j. zip

        mkdir saxonb9.1.0.8j

        cd saxonb9.1.0.8j

        unzip - q../saxonb9-1-0-8j. zip

        cd..

        rm saxonb9-1-0-8j. zip

        fi

       fi

       popd

       

       # exit virtual env

       deactivate

       ENDSUDO

  chown - R $build_user:$build_user $BUILDPREFIX

  #  SSL support in sendemail 1.56-2 (from wheezy) is buggy, we need to patch it. SSLv3 is dangerous anyway

#  patch /usr/bin/sendemail <<END_PATCH

#--- sendemail. orig

#+++ sendemail. new

#@@ -1907 +1907,2 @@

#-  if (! IO::Socket::SSL->start_SSL(\$SERVER, SSL_version => 'SSLv3 TLSv1')) {

#+  # if (! IO::Socket::SSL->start_SSL(\$SERVER, SSL_version => 'SSLv3 TLSv1')) {

#+  if (! IO::Socket::SSL->start_SSL(\$SERVER, SSL_version => 'TLSv1')) {

  #END_PATCH

  echo - e "\nSetup done"

}

copy_with_host() {

  if [[ "$HOST" == "localhost" ]]; then

  # no host => local operation

  shift 1

  eval cp "$@"

  else

  direction=$1

  shift 1

  local - a ARGS=( "$@" )

  local - i last_idx=$(( ${#ARGS[@]} - 1 ))

  if [[ "$direction" == "to_host" ]]; then

  # remove ~/ from last argument and prefix it with "login@host:"

  local dest="${ARGS[$last_idx]}"

  ARGS[$last_idx]="${LOGIN}@${HOST}:${dest#~/}"

  elif [[ "$direction" == "from_host" ]]; then

  # remove ~/ from all arguments but last and prefix them with "login@host:"

  for (( I=0; I < last_idx ; I++ )); do

  local dest="${ARGS[$I]}"

  ARGS[$I]="${LOGIN}@${HOST}:${dest#~/}"

  done

  fi

  local SCP="sshpass - p ${PASSWORD} scp - rp - oStrictHostKeyChecking=no"

  $SCP "${ARGS[@]}"

  fi

}

execute_on_host() {

  if [[ "$HOST" == "localhost" ]]; then

  # no host => local operation

  if [[ $# == 0 ]]; then

  # For << redirection

  bash

  else

  ( set +e; eval "$@" )

  fi

  else

  local SSH="sshpass - p ${PASSWORD} ssh - oStrictHostKeyChecking=no"

  if [[ $# == 0 ]]; then

  # For << redirection

  $SSH - T ${LOGIN}@${HOST}

  else

  $SSH ${LOGIN}@${HOST} "$@"

  fi

  fi

}

copy_from_repo_host() (

  HOST=$REPOHOST LOGIN=$REPOLOGIN PASSWORD=$REPOPASSWORD copy_with_host from_host "$@"

)

copy_to_repo_host() (

  HOST=$REPOHOST LOGIN=$REPOLOGIN PASSWORD=$REPOPASSWORD copy_with_host to_host "$@"

)

execute_on_repo_host() (

  HOST=$REPOHOST LOGIN=$REPOLOGIN PASSWORD=$REPOPASSWORD execute_on_host "$@"

)

execute_on_preseed_host() (

  HOST=$PRESEEDHOST LOGIN=$PRESEEDLOGIN PASSWORD=$PRESEEDPASSWORD execute_on_host "$@"

)

clean_packages () {

  if [ - d $BUILDPREFIX/packages ]; then

  print_banner "Removing existing packages directory: ${BUILDPREFIX}/packages"

  rm - Rf $BUILDPREFIX/packages

  fi

  find $BUILDPREFIX - name '*.changes' - exec rm - vf {} \;

  if [ - d $BUILDPREFIX/wab/debian ]; then

  rm - rf $BUILDPREFIX/wab/debian

  fi

  print_banner "Creating the ${BUILDPREFIX}/packages directory"

  mkdir - p ${BUILDPREFIX}/packages

}

#

# Main WAB Building Routines

#

clean_wab_modules()  {

  print_banner "Removing All WAB Modules"

  rm - Rf ${BUILDPREFIX}/wab/*

}

checkout_wab_modules () {

  print_banner "Checking Out WAB modules"

  if [ - d ${BUILDPREFIX}/wab ]; then

  rm - Rf ${BUILDPREFIX}/wab

  fi

  svn export --force ${SVNBASEURL}/wab/${wab_version} ${BUILDPREFIX}/wab

}

_patch_debian_files() {

  print_banner "Patching Debian Files"

  if [ - d $DISTDIR/debian ]; then

  cp - Rf $DISTDIR/debian $BUILDPREFIX/wab

  cp ${SCRIPTDIR}/dh_wabbuild $BUILDPREFIX/wab

  # Now substitute some consts

  sed - i "s|<!wabname!>|$WABNAME|g" $BUILDPREFIX/wab/debian/control

  sed - i "s|<!wabver!>|${final_version}|g" $BUILDPREFIX/wab/debian/control

  sed - i "s|<!wabname!>|$WABNAME|" $BUILDPREFIX/wab/debian/rules

  sed - i "s|<!builddir!>|$BUILDPREFIX/wab|" $BUILDPREFIX/wab/debian/rules

  sed - i "s|<!wabinstallprefix!>|$wabinstallprefix|" $BUILDPREFIX/wab/debian/rules

  sed - i "s|<!wabinstallprefix!>|$wabinstallprefix|g" $BUILDPREFIX/wab/debian/wab-core. postinst

  sed - i "s|<!wabinstallprefix!>|$wabinstallprefix|" $BUILDPREFIX/wab/debian/wab-core. postrm

  sed - i "s|<!wabinstallprefix!>|$wabinstallprefix|g" $BUILDPREFIX/wab/debian/wab-core. wabcore. cron. d

  sed - i "s|<!wabinstallprefix!>|$wabinstallprefix|g" $BUILDPREFIX/wab/debian/wab-gui. wabgui. cron. d

  sed - i "s|<!wabinstallprefix!>|$wabinstallprefix|" $BUILDPREFIX/wab/debian/wab-gui. postinst

  sed - i "s|<!wabver!>|${final_version}|" $BUILDPREFIX/wab/debian/wab-gui. postinst

  sed - i "s|<!wabinstallprefix!>|$wabinstallprefix|" $BUILDPREFIX/wab/debian/wab-gui. postrm

  sed - i "s|<!wabname!>|$WABNAME|" $BUILDPREFIX/wab/dh_wabbuild

  sed - i "s|<!builddir!>|$BUILDPREFIX/wab|" $BUILDPREFIX/wab/dh_wabbuild

  sed - i "s|<!wabinstallprefix!>|$wabinstallprefix|" $BUILDPREFIX/wab/dh_wabbuild

  sed - i "s|<!wabinstallprefix!>|$wabinstallprefix|" $BUILDPREFIX/wab/debian/wab-system-configuration. wabsystemconfiguration. init

  # Fill the new version of the package in postinst

  sed - i "s|<!newversion!>|${final_version}|g" $BUILDPREFIX/wab/debian/wab-core. postinst

  sed - i "s|<!newversion!>|${final_version}|g" $BUILDPREFIX/wab/debian/wab-gui. postinst

  sed - i "s|<!newversion!>|${final_version}|g" $BUILDPREFIX/wab/debian/wab-ha. postinst

  sed - i "s|<!newversion!>|${final_version}|g" $BUILDPREFIX/wab/debian/wab-system-configuration. postinst

  fi

}

_create_install_files() {

  print_banner "Creating Installation Debian Files"

  pushd $BUILDPREFIX/wab/debian

  # Generate - dev. install files

  for INST_FILE in wab-core wab-gui wab-system-configuration

  do

  sed  "/^.*\.pyo/! d;s/\.pyo /\.py /g" $INST_FILE. install > $INST_FILE-dev. install

  done

  for POSTINST_FILE in wab-core wab-gui wab-system-configuration

  do

  cat <<EOF > $POSTINST_FILE-dev. postinst

#!/bin/bash

case "$1" in

  configure)

EOF

  sed "s/\(.*\s\).*/rm \1/g; /.*\.pyo/! d" $POSTINST_FILE. install >> $POSTINST_FILE-dev. postinst

  cat <<EOF >> $POSTINST_FILE-dev. postinst

  # Restarting Services

  /bin/systemctl --no-ask-password restart wabsystemconfiguration

  /etc/init. d/wabcore restart

  /etc/init. d/wabgui restart

  ;;

  abort-upgrade|abort-remove|abort-deconfigure)

  ;;

  *)

  echo "postinst called with unknown argument \`$1'" >&2

  exit 1

  ;;

esac

#DEBHELPER#

exit 0

EOF

  done

  if [ "$WABNAME" != "wab" ]; then

  mv wab-core. dirs $WABNAME-core. dirs

  mv wab-core. preinst $WABNAME-core. preinst

  mv wab-core. install $WABNAME-core. install

  mv wab-core-dev. install $WABNAME-core-dev. install

  mv wab-core. postinst $WABNAME-core. postinst

  mv wab-core-dev. postinst $WABNAME-core-dev. postinst

  mv wab-core. prerm $WABNAME-core. prerm

  mv wab-core. postrm $WABNAME-core. postrm

  mv wab-core. wabcore. init $WABNAME-core. wabcore. init

  mv wab-core. wabcore. default $WABNAME-core. wabcore. default

  mv wab-core. wabcore. cron. d $WABNAME-core. wabcore. cron. d

  mv wab-core. conffiles $WABNAME-core. conffiles

Из за большого объема этот материал размещен на нескольких страницах:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35