diff --git a/build-deb.sh b/build-deb.sh index 5943c151..5b2b5f85 100755 --- a/build-deb.sh +++ b/build-deb.sh @@ -1,7 +1,12 @@ #!/bin/bash - -backup=`pwd` -DIR="$( cd "$( dirname "$0" )" && pwd )" +# Generates .deb packages +# Requires (at least): +# apt install ubuntu-dev-tools # install pbuilder-dist +# pbuilder-dist cosmic i386 create # create a build environment +# pbuilder-disp cosmic amd64 create # create a build environment + +backup=${PWD} +DIR=${0%*/} cd $DIR . ./BUILD_CONFIG @@ -37,8 +42,8 @@ echo "-------------------------------------------------------------------------- } -build_deb_for_dist xenial i386 -build_deb_for_dist xenial amd64 +build_deb_for_dist cosmic i386 +build_deb_for_dist cosmic amd64 #build_deb_for_dist stretch armel #build_deb_for_dist stretch armhf diff --git a/build-installers.sh b/build-installers.sh index 2e7f4856..83c303f5 100755 --- a/build-installers.sh +++ b/build-installers.sh @@ -1,7 +1,11 @@ #!/bin/bash +# Generates *.run installers +# Requires (at least): +# Run build-deb.sh first +# "sanity" from https://github.com/teejee2008/sanity-installer -backup=`pwd` -DIR="$( cd "$( dirname "$0" )" && pwd )" +backup=${PWD} +DIR=${0%/*} cd $DIR . ./BUILD_CONFIG @@ -33,6 +37,8 @@ echo "-------------------------------------------------------------------------- rm -rfv release/${arch}/${pkg_name}*.* # remove source files created by pbuilder cp -pv --no-preserve=ownership release/sanity.config release/${arch}/sanity.config + +# "sanity" command comes from https://github.com/teejee2008/sanity-installer sanity --generate --base-path release/${arch} --out-path release --arch ${arch} --xz if [ $? -ne 0 ]; then cd "$backup"; echo "Failed"; exit 1; fi diff --git a/build-source.sh b/build-source.sh index 99e4bad2..60984163 100755 --- a/build-source.sh +++ b/build-source.sh @@ -1,7 +1,7 @@ #!/bin/bash -backup=`pwd` -DIR="$( cd "$( dirname "$0" )" && pwd )" +backup=${PWD} +DIR=${0%/*} cd "$DIR" . ./BUILD_CONFIG diff --git a/ukuu.pot b/ukuu.pot index d256268b..c7eef513 100644 --- a/ukuu.pot +++ b/ukuu.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: ukuu 18.9\n" "Report-Msgid-Bugs-To: bw.aljex@gmail.com\n" -"POT-Creation-Date: 2019-03-11 00:10-0400\n" +"POT-Creation-Date: 2019-03-11 00:24-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n"