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
|