Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 2c42d1f552
Fetching contributors…

Cannot retrieve contributors at this time

executable file 6 lines (5 sloc) 0.433 kb
install -D -m644 /opt/games/fretsonfire/addons/fretsonfire.ini /home/gamer/.fretsonfire/fretsonfire.ini
xres=$(xrandr -q | grep \* | sed -e "s/^[ \t]*//" -e "s/\([0-9]*x[0-9]*\).*/\1/" | cut -d'x' -f1)
yres=$(xrandr -q | grep \* | sed -e "s/^[ \t]*//" -e "s/\([0-9]*x[0-9]*\).*/\1/" | cut -d'x' -f2)
sed -i -e "s/XXXX/$xres/" -e "s/YYYY/$yres/" /home/gamer/.fretsonfire/fretsonfire.ini
chown -R gamer:users /home/gamer/.fretsonfire/
Jump to Line
Something went wrong with that request. Please try again.