Former-commit-id:133dc97f67
[formerlya02aeb236c
] [formerly9f19e3f712
] [formerly06a8b51d6d
[formerly9f19e3f712
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]] Former-commit-id:06a8b51d6d
Former-commit-id:377dcd10b9
[formerly3360eb6c5f
] Former-commit-id:8e80217e59
24 lines
682 B
Bash
24 lines
682 B
Bash
#!/bin/bash
|
|
# This script will remove the gfe vcmodule directory.
|
|
#
|
|
# This update needs to be performed with build 11.9.0-6.
|
|
#
|
|
|
|
echo ""
|
|
echo "Press Enter to perform the updates Ctrl-C to quit."
|
|
read done
|
|
|
|
if [ -d /awips2/edex/data/utility/common_static/base/gfe/vcmodule ]; then
|
|
echo "INFO: removing /awips2/edex/data/utility/common_static/base/gfe/vcmodule."
|
|
|
|
rm -rfv /awips2/edex/data/utility/common_static/base/gfe/vcmodule/*
|
|
if [ $? -ne 0 ]; then
|
|
echo "ERROR: Failed to remove the contents of /awips2/edex/data/utility/common_static/base/gfe/vcmodule."
|
|
echo "FATAL: Updated failed!"
|
|
exit 1
|
|
fi
|
|
else
|
|
echo "INFO: No updates to perform."
|
|
fi
|
|
|
|
exit 0
|