10 lines
317 B
Bash
10 lines
317 B
Bash
#!/bin/bash
|
|
if [ "$1" = "1" ]; then
|
|
rm -f /usr/bin/fuel-createmirror
|
|
rm -f /etc/fuel-createmirror
|
|
ln -sf /opt/fuel-createmirror-7.0/fuel-createmirror /usr/bin/
|
|
ln -sf /opt/fuel-createmirror-7.0/config /etc/fuel-createmirror
|
|
else
|
|
rm -f /usr/bin/fuel-createmirror
|
|
rm -f /etc/fuel-createmirror
|
|
fi |