diff options
Diffstat (limited to 'install')
-rwxr-xr-x | install | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/install b/install new file mode 100755 index 000000000000..a811bac80728 --- /dev/null +++ b/install @@ -0,0 +1,14 @@ +#!/bin/sh + +post_install() { + sed -i '/^#0nyX$/,+1 d' /etc/environment + printf '\n#0nyX\nGTK_OVERLAY_SCROLLING=0\n#0nyX\nLIBOVERLAY_SCROLLBAR=0'>> /etc/environment +} + +post_upgrade() { + post_install +} + +post_remove() { + sed -i '/^#0nyX$/,+1 d' /etc/environment +}
\ No newline at end of file |