#!/bin/sh set -e if [ "$CUTTER_MASTER" = "yes" ]; then sudo apt update -qq sudo apt install -qq -y \ autotools-dev \ intltool \ libgtk2.0-dev \ libsoup2.4-dev git clone --depth 1 --branch master https://github.com/clear-code/cutter.git cd cutter ./autogen.sh ./configure --prefix=/usr --localstatedir=/var --enable-debug make -j > /dev/null sudo make install > /dev/null cd .. else distribution=$(lsb_release --short --id | tr 'A-Z' 'a-z') case $distribution in debian) code_name=$(lsb_release --short --codename) if [ "x${CODE_NAME}" != "x" ]; then code_name=$CODE_NAME fi component=main apt_url_base=https://osdn.net/projects/cutter/storage cat <