Fix missing sed -i flag
This commit is contained in:
parent
60f53a3b51
commit
84b87d5121
@ -1579,9 +1579,9 @@ install_tearfree_conf()
|
|||||||
|
|
||||||
if lspci | grep ' VGA ' | grep -q 'Intel\|AMD/ATI'; then
|
if lspci | grep ' VGA ' | grep -q 'Intel\|AMD/ATI'; then
|
||||||
if [[ $xpath == *"$MNT"* ]]; then
|
if [[ $xpath == *"$MNT"* ]]; then
|
||||||
sed 's/xrender/glx/g' "$MNT/etc/skel/.config/compton.conf"
|
sed -i 's/xrender/glx/g' "$MNT/etc/skel/.config/compton.conf"
|
||||||
else
|
else
|
||||||
sed 's/xrender/glx/g' /etc/skel/.config/compton.conf
|
sed -i 's/xrender/glx/g' /etc/skel/.config/compton.conf
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user