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

# Load common code
. ./_build_common.sh

#----------------------------
# Initialization
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..."
./_update_repositories-int.sh &>"$SCRIPT_LOG_DIR/update-repos.log"
echo "Update completed."