summaryrefslogtreecommitdiffstats
path: root/debian/_buildscripts/local/scripts/update_repositories.sh
blob: efa739aa60733da50ceb41f6ada04ca3d092f9b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

# Load common code
. ./internals/_build_common.sh
init_common

#----------------------------
# Run real update script
if [ ! -d "$SCRIPT_LOG_DIR" ]; then
	echo -e "\"$SCRIPT_LOG_DIR\" folder is missing. Check your config or create it."
	exit 1
fi
echo "Update in progress..."
. ./internals/_update_repositories.sh &>"$SCRIPT_LOG_DIR/update-repos.log"
echo "Update completed."