#!/bin/sh mkdir -p /tmp/logs echo "==> extra packages" extrap=/tmp/bin/extrapackages if [ -f $extrap ]; then sh $extrap 2>&1 | tee /tmp/logs/extrapackages.log fi echo "==> exec custom" extrashell=/tmp/bin/custom.sh if [ -f $extrashell ]; then sh $extrashell 2>&1 | tee /tmp/logs/custom1.log fi echo "==> extra add" extrap1=/tmp/bin/extrapackages1 if [ -f $extrap1 ]; then sh $extrap1 2>&1 | tee /tmp/logs/extrapackages1.log fi echo "==> exec sh 2" extrashell1=/tmp/bin/custom1.sh if [ -f $extrashell1 ]; then sh $extrashell1 2>&1 | tee /tmp/logs/custom2.log fi