Faster\Cleaner Code

This commit is contained in:
lonix 2015-06-18 10:24:06 +02:00
parent 1598543b43
commit 3ebaefbf29

View File

@ -1,8 +1,6 @@
#!/bin/bash
if [ -f /config/Targets ]; then
exit 0
else
cp /tmp/Targets /config/
if [ ! -f /config/Targets ]; then
cp /tmp/Targets /config/Targets
chown abc:abc /config/Targets
fi