Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
In case of redhat8 we have seen bin folder is cleaning during Preunin…
Browse files Browse the repository at this point in the history
…stall , this is to avoid the issue. (#829)

In case of redhat8 we have seen bin folder is cleaning during Preuninstall , this is to avoid the issue.
  • Loading branch information
chsamala2 committed Dec 7, 2021
1 parent 7bafd75 commit d0d4786
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions installbuilder/datafiles/Base_DSC.data
Original file line number Diff line number Diff line change
Expand Up @@ -246,12 +246,6 @@ echo "Deployment operation type :" $1
if [ "$1" = "1" -o "$1" = 1 -o "$1" = "install" -o "$1" = "clean" ]; then
echo "Cleanning directory /opt/dsc..."
rm -rfv /opt/dsc
else
for file in `ls /opt/dsc`; do
if [ $file != "lib" ]; then
rm -rfv /opt/dsc/"$file"
fi
done
fi
rm -f /etc/opt/omi/conf/omsconfig/inventory_lock
echo "Cleaned up existing dsc_hosts..."
Expand Down Expand Up @@ -619,12 +613,6 @@ echo "Deployment operation type :" $1
if [ "$1" = "0" -o "$1" = 0 -o "$1" = "remove" -o "$1" = "purge" ]; then
echo "Cleanning directory /opt/dsc..."
rm -rfv /opt/dsc
else
for file in `ls /opt/dsc`; do
if [ $file != "lib" ]; then
rm -rfv /opt/dsc/"$file"
fi
done
fi
rm -f /etc/opt/omi/conf/omsconfig/inventory_lock
echo "Cleaned up existing dsc_hosts before uninstall..."
Expand Down

0 comments on commit d0d4786

Please sign in to comment.