From 300781222c4b840fb2684b6b323b80cb9468b0ae Mon Sep 17 00:00:00 2001 From: frju365 Date: Sun, 29 Jan 2017 22:02:54 +0100 Subject: [PATCH] Update _common --- scripts/_common | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/_common b/scripts/_common index ccd5b28..75cf2ab 100644 --- a/scripts/_common +++ b/scripts/_common @@ -1,9 +1,5 @@ extract_source() { - local DESTDIR=$1 - sudo git clone https://github.com/aliasaria/scrumblr.git $DESTDIR \ + sudo git clone https://github.com/aliasaria/scrumblr.git /var/www/ \ || ynh_die "Unable to download source" - sudo mv $DESTDIR/scrumblr .. \ - || ynh_die "Unable to extract source tarball" - sudo rm $DESTDIR/scrumblr }