Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 93e2880992
Fetching contributors…

Cannot retrieve contributors at this time

executable file 6 lines (5 sloc) 0.419 kB
install -D -m644 /opt/games/hedgewars/addons/hedgewars.ini /home/gamer/.hedgewars/hedgewars.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/.hedgewars/hedgewars.ini
chown -R gamer:users /home/gamer/.hedgewars/
Jump to Line
Something went wrong with that request. Please try again.