SHA256
1
0
forked from pool/colordiff
colordiff/colordiff-fix-permission.diff

16 lines
515 B
Diff

Index: colordiff-1.0.8/Makefile
===================================================================
--- colordiff-1.0.8.orig/Makefile
+++ colordiff-1.0.8/Makefile
@@ -32,9 +32,7 @@ install: etc
if [ -f ${ETC_DIR}/colordiffrc ]; then \
mv -f ${ETC_DIR}/colordiffrc ${ETC_DIR}/colordiffrc.old; \
fi
- cp colordiffrc ${ETC_DIR}/colordiffrc
- chown root.root ${ETC_DIR}/colordiffrc
- chmod 644 ${ETC_DIR}/colordiffrc
+ install -m 644 colordiffrc ${ETC_DIR}/colordiffrc
rm -f colordiff.pl.for.install
dist: