all repos — ryudo @ 3c8037d3f4cdb1006e3a20e32db07ed870345681

the floatiling window manager that flows; fork of rio from plan9port

install.sh (raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

if [ -z "$PLAN9" ]; then
  echo "PLAN9 not set;"
  echo "Please set it to the location of your plan9port installation."
  exit 1
fi

if [ $(whoami) != "root" ]; then
  mkdir -p ~/bin/9
  cp ryudo ~/bin/9/ryudo
  echo "ryudo has been installed to '${HOME}/bin/9/';"
  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.1 $PLAN9/man/man1/ryudo.1
  echo "ryudo has been installed to '${PLAN9}/bin/';"
  echo "The manual pages have been installed to '${PLAN9}/man/'"
fi