Skip to content

Commit

Permalink
feat: import german course from external repo (#1659)
Browse files Browse the repository at this point in the history
Update installExternalCourses.sh

Co-authored-by: Lamdarer <50927784+Lamdarer@users.noreply.github.com>
  • Loading branch information
kantord and Lamdarer authored Oct 3, 2021
1 parent 94061dd commit be08b75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/web/scripts/installExternalCourse.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

wget "https://github.com/$1/archive/refs/heads/main.zip" -O temp.zip
wget "$1" -O temp.zip
unzip temp.zip "*/course/*" -d ../../courses/$2
mv ../../courses/$2/*/course/* ../../courses/$2
rm temp.zip
3 changes: 2 additions & 1 deletion apps/web/scripts/installExternalCourses.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash

yarn installCourse kantord/LibreLingo-ES-from-EN spanish-from-english
yarn installCourse "https://github.com/kantord/LibreLingo-ES-from-EN/archive/refs/heads/main.zip" spanish-from-english
yarn installCourse https://codeberg.org/Lamdarer/LibreLingo-DE-from-EN/archive/main.zip german-from-english

0 comments on commit be08b75

Please sign in to comment.