chamesle

chamesle.org: the site of Chamesle, a small Linux distribution
git clone https://github.com/tortr-rs/chamesle
Log | Files | Refs | README

live-installer (323B)


      1 #!/bin/sh
      2 if [ "$(id -u)" -ne 0 ]; then
      3 	echo 'live-installer must be run with sudo.' >&2
      4 	exit 1
      5 fi
      6 
      7 optimize='OO'; case "$*" in *--debug*) unset optimize; esac
      8 
      9 # the slideshow is broken in virtualbox without this
     10 export WEBKIT_DISABLE_COMPOSITING_MODE=1
     11 
     12 exec python3 -tt${optimize} /usr/lib/live-installer/main.py "$@"