|
|
|
@ -27,11 +27,18 @@
|
|
|
|
|
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
|
|
|
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
|
|
|
|
|
# These need set here:
|
|
|
|
|
# These need to be set here:
|
|
|
|
|
INST=1
|
|
|
|
|
TMP=${TMP:-/tmp}
|
|
|
|
|
ROOT=$(pwd)
|
|
|
|
|
|
|
|
|
|
## Allow a rebuild of all dependencies,
|
|
|
|
|
## even if they are already installed.
|
|
|
|
|
##
|
|
|
|
|
## Run:
|
|
|
|
|
## REBUILD=yes ./build-deps.sh
|
|
|
|
|
REBUILD=${REBUILD:-no}
|
|
|
|
|
|
|
|
|
|
# Loop for all packages
|
|
|
|
|
for dir in \
|
|
|
|
|
Deps/GraphicsMagick \
|
|
|
|
@ -48,6 +55,7 @@ for dir in \
|
|
|
|
|
# Get the package name
|
|
|
|
|
package=$(echo $dir | cut -f2- -d /)
|
|
|
|
|
|
|
|
|
|
if [ -z "`find /var/log/packages/ -name *$package-*`" ] || [ "${REBUILD}" = "yes" ]; then
|
|
|
|
|
# Change to package directory
|
|
|
|
|
cd $ROOT/$dir || exit 1
|
|
|
|
|
|
|
|
|
@ -71,4 +79,7 @@ for dir in \
|
|
|
|
|
|
|
|
|
|
# back to original directory
|
|
|
|
|
cd $ROOT
|
|
|
|
|
else
|
|
|
|
|
echo "$package already installed."
|
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|