mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Update gravity-sync.sh
This commit is contained in:
parent
6bc818f29f
commit
ab6a710c41
@ -51,11 +51,11 @@ else
|
||||
fi
|
||||
|
||||
# check to see if current pihole directory is correct
|
||||
if [ -f ${PIHOLE_DIR}/${GRAVITY_FI} ]
|
||||
if [ -d ${PIHOLE_DIR} ]
|
||||
then
|
||||
echo -e "${GREEN}Success${NC}: Required file ${PIHOLE_DIR}/${GRAVITY_FI} is present"
|
||||
echo -e "${GREEN}Success${NC}: Required folder ${PIHOLE_DIR} is present"
|
||||
else
|
||||
echo -e "${RED}Failure${NC}: Required file ${PIHOLE_DIR}/${GRAVITY_FI} is missing"
|
||||
echo -e "${RED}Failure${NC}: Required folder ${PIHOLE_DIR} is missing"
|
||||
exit
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user