#!/bin/bash # # This script triggers all neccessary actions to create pacman repositories # based on traditional eisfair repositories. It can be used out of cron job. # # $Id$ # #exec 2>/tmp/prepare_updates_trace$$.log #set -x scriptPath=${0%\/*} callPath=`pwd` cd $scriptPath if [ -f configuration.default.sh ] then # Load default configuration . configuration.default.sh else echo "Default configuration not found!" exit 1 fi if [ -f configuration.sh ] then # Load user configuration . configuration.sh fi # ---------------------------------------------------------------------------- # Show usage # ---------------------------------------------------------------------------- showUsage () { cat <