Skip to content

Commit

Permalink
Added a check for REQUIRED_PROGS_FDRUPSTREAM
Browse files Browse the repository at this point in the history
  • Loading branch information
rowens275 committed Oct 12, 2015
1 parent c84c36e commit 5e31e80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions usr/share/rear/conf/default.conf
Expand Up @@ -375,6 +375,9 @@ COPY_AS_IS_FDRUPSTREAM=( "$FDRUPSTREAM_INSTALL_PATH" )
COPY_AS_IS_EXCLUDE_FDRUPSTREAM=( "$FDRUPSTREAM_INSTALL_PATH/usserver" )
#CHECK_CONFIG_FILES_FDRUPSTREAM=( "$FDRUPSTREAM_INSTALL_PATH/upstream.cfg" "$FDRUPSTREAM_INSTALL_PATH/uscmd1" "$FDRUPSTREAM_INSTALL_PATH/usdaemon2" )
PROGS_FDRUPSTREAM=( )
# Check for just one program, to ensure that FDRUPSTREAM_INSTALL_PATH is
# set correctly:
REQUIRED_PROGS_FDRUPSTREAM=( "$FDRUPSTREAM_INSTALL_PATH/uscmd1" )

##
# BACKUP=GALAXY stuff
Expand Down
Expand Up @@ -6,3 +6,4 @@ COPY_AS_IS=( "${COPY_AS_IS[@]}" "${COPY_AS_IS_FDRUPSTREAM[@]}" "${FDRUPSTREAM_IN
COPY_AS_IS_EXCLUDE=( "${COPY_AS_IS_EXCLUDE[@]}" "${COPY_AS_IS_EXCLUDE_FDRUPSTREAM[@]}" "${FDRUPSTREAM_INSTALL_PATH}/usserver" )
CHECK_CONFIG_FILES=( "${CHECK_CONFIG_FILES[@]}" "${CHECK_CONFIG_FILES_FDRUPSTREAM[@]}" )
PROGS=( "${PROGS[@]}" "${PROGS_FDRUPSTREAM[@]}" col )
REQUIRED_PROGS=( "${REQUIRED_PROGS[@]}" "${REQUIRED_PROGS_FDRUPSTREAM[@]}" col )

0 comments on commit 5e31e80

Please sign in to comment.