aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorDerek Stevens <nilix@nilfm.cc>2021-11-10 23:45:17 -0700
committerDerek Stevens <nilix@nilfm.cc>2021-11-10 23:45:17 -0700
commit9bcea226bbd4b2cdd78612defae95f5bd948b6c4 (patch)
tree8cee51b2693b6bb4e279a54eae02ae4823d78b2e /install.sh
parentaea66ef8e23af0357fa261920063504bacfc3128 (diff)
update helpers
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index 82ac188..f451473 100755
--- a/install.sh
+++ b/install.sh
@@ -13,8 +13,16 @@ if [ $(whoami) != "root" ]; then
echo "You may want to add it to your PATH."
echo "The manual pages were not installed."
else
- cp ryudo $PLAN9/bin/ryudo
+ cp ryudo ${PLAN9}/bin/ryudo
+ cp ryudo.desktop /usr/share/xsessions/ryudo.desktop
+ cp startryudo /usr/bin/startryudo
cp ryudo.1 $PLAN9/man/man1/ryudo.1
+
+ chmod a+x /usr/bin/startryudo
+ chmod a+x ${PLAN9}/bin/ryudo
+
echo "ryudo has been installed to '${PLAN9}/bin/';"
+ echo "xsession has been installed to '/usr/share/xsessions';"
+ echo "startryudo script has been installed to '/usr/bin/';"
echo "The manual pages have been installed to '${PLAN9}/man/'"
fi