mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
16 lines
129 B
Plaintext
16 lines
129 B
Plaintext
|
#!/bin/sh
|
||
|
if
|
||
|
test -r $2
|
||
|
then
|
||
|
if
|
||
|
cmp $1 $2 > /dev/null
|
||
|
then
|
||
|
echo $2 is unchanged
|
||
|
rm -f $1
|
||
|
else
|
||
|
mv -f $1 $2
|
||
|
fi
|
||
|
else
|
||
|
mv -f $1 $2
|
||
|
fi
|