From ced329fdc9979319439450c5bababcb1834a8bec Mon Sep 17 00:00:00 2001 From: meets2tarun Date: Sun, 10 Jun 2018 22:34:46 +0530 Subject: [PATCH] implementation part add a line in the Meililx build script to call those script present in the Meilix Generator repo --- scripts/chroot.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/chroot.sh b/scripts/chroot.sh index c4bbb8e3..29842d74 100644 --- a/scripts/chroot.sh +++ b/scripts/chroot.sh @@ -163,6 +163,14 @@ apt-get -qq -y remove dconf-tools # Installing SUSI Desktop package dpkg -i SUSI-desktop.deb +# Instalation of packages from Generator Webapp +SCRIPT_URL=https://www.github.com/fossasia/meilix-generator/archive/master.zip +wget -O $scripts.zip $SCRIPT_URL +unzip scripts.zip +SCRIPTS_FOLDER_IN_ZIP="meilix-generator-master/scripts" +ls $SCRIPTS_FOLDER_IN_ZIP; do +$SCRIPTS_FOLDER_IN_ZIP/script; done #execute all scripts + # Clean up the chroot before perl -i -nle 'print unless /^Package: language-(pack|support)/ .. /^$/;' /var/lib/apt/extended_states apt-get -qq clean