OSDN Git Service

Fix missing sed -i flag
authornatemaia <natemaia10@gmail.com>
Mon, 21 Oct 2019 04:03:55 +0000 (21:03 -0700)
committernatemaia <natemaia10@gmail.com>
Mon, 21 Oct 2019 04:04:25 +0000 (21:04 -0700)
.SRCINFO [new file with mode: 0644]
archlabs-installer

diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644 (file)
index 0000000..e69de29
index e5f1b93..337a8f1 100755 (executable)
@@ -1579,9 +1579,9 @@ install_tearfree_conf()
 
        if lspci | grep ' VGA ' | grep -q 'Intel\|AMD/ATI'; 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
-                       sed 's/xrender/glx/g' /etc/skel/.config/compton.conf
+                       sed -i 's/xrender/glx/g' /etc/skel/.config/compton.conf
                fi
        fi