aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorDavide Laezza <truzzialrogo@gmx.com>2018-05-08 12:24:50 +0200
committerDavide Laezza <truzzialrogo@gmx.com>2018-05-08 12:24:50 +0200
commitec0e064d2bedc76ef65d90c97079b9e43f3c7550 (patch)
treede46c45134b08c8d5d7270f2576ca80d5d403ccf /install.sh
parentSetting executable permissions, just in case (diff)
downloadmove-to-next-monitor-ec0e064d2bedc76ef65d90c97079b9e43f3c7550.tar.gz
move-to-next-monitor-ec0e064d2bedc76ef65d90c97079b9e43f3c7550.tar.bz2
move-to-next-monitor-ec0e064d2bedc76ef65d90c97079b9e43f3c7550.zip
Implementing changes requested in vanaoff/move-to-next-monitor#1
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/install.sh b/install.sh
index ade7f08..1408805 100755
--- a/install.sh
+++ b/install.sh
@@ -1,10 +1,5 @@
#!/usr/bin/env bash
cd $(dirname $0)
-if /usr/bin/env python -V 2>&1 | grep 'Python 2' &> /dev/null; then
- sed '1c#!/usr/bin/env python3' ./move-to-next-monitor \
- > /usr/local/bin/move-to-next-monitor
-else
- cp ./move-to-next-monitor /usr/local/bin/move-to-next-monitor
-fi
+cp ./move-to-next-monitor /usr/local/bin/move-to-next-monitor
chmod +x /usr/local/bin/move-to-next-monitor
bgstack15