e219f69baa
add readme and patch auto add/remove renamed and updated patch rc.diff -> rc.diff
12 lines
208 B
Bash
Executable File
12 lines
208 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
# dry run test
|
|
/usr/bin/patch --dry-run -f -R -p 1 -i lvm2-rc.patch > /dev/null
|
|
|
|
# reverse patch if no errors
|
|
if [ $? = 0 ]; then
|
|
/usr/bin/patch -R -p 1 -i lvm2-rc.patch
|
|
fi
|
|
|
|
# End of file
|