* Since we are in migration stage to python code implementation we need to fix SPEC files both for RPM and DEB * Small lintian fixes Change-Id: I51e4a6aa27b2855805beab3c61b4d4c499df2732 Related-Bug: #1487077
11 lines
318 B
Bash
11 lines
318 B
Bash
#!/bin/bash
|
|
if [ "$1" = "1" ]; then
|
|
rm -f /usr/bin/fuel-createmirror
|
|
rm -f /etc/fuel-createmirror
|
|
ln -sf /opt/fuel-createmirror-8.0/fuel-createmirror /usr/bin/
|
|
ln -sf /opt/fuel-createmirror-8.0/config /etc/fuel-createmirror
|
|
else
|
|
rm -f /usr/bin/fuel-createmirror
|
|
rm -f /etc/fuel-createmirror
|
|
fi
|