mirror of
https://github.com/YunoHost-Apps/scrumblr_ynh.git
synced 2024-09-03 20:16:29 +02:00
Create _common
This commit is contained in:
parent
248b345d85
commit
945950466f
1 changed files with 9 additions and 0 deletions
9
scripts/_common
Normal file
9
scripts/_common
Normal file
|
@ -0,0 +1,9 @@
|
|||
extract_source() {
|
||||
local DESTDIR=$1
|
||||
|
||||
sudo git clone https://github.com/aliasaria/scrumblr.git $DESTDIR \
|
||||
|| ynh_die "Unable to download source"
|
||||
sudo mv $DESTDIR/scrumblr .. \
|
||||
|| ynh_die "Unable to extract source tarball"
|
||||
sudo rm $DESTDIR/scrumblr
|
||||
}
|
Loading…
Add table
Reference in a new issue