diff options
Diffstat (limited to 'soas-aslo-and-content.ks')
-rw-r--r-- | soas-aslo-and-content.ks | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/soas-aslo-and-content.ks b/soas-aslo-and-content.ks index 21a6f0e..60d7e83 100644 --- a/soas-aslo-and-content.ks +++ b/soas-aslo-and-content.ks @@ -100,31 +100,6 @@ for pdf in $PDFS ; do cp -p $bundle $BUNDLES_DIR done -# e-books from project gutenberg -EPUB="$EPUB 3455" # Nederlandsche Sagen en Legenden -EPUB="$EPUB 11339" # Aesop's Fables -EPUB="$EPUB 11589" # Les Voyages Extraordinaires -EPUB="$EPUB 17157" # Gulliver's Travels -EPUB="$EPUB 17161" # Max und Moritz -EPUB="$EPUB 17396" # The Secret Garden -EPUB="$EPUB 22566" # Dorothy and the Wizard in Oz -EPUB="$EPUB 24022" # A Christmas Carol -EPUB="$EPUB 25074" # Novelas y cuentos -EPUB="$EPUB 28314" # The Yellow Fairy Book -EPUB="$EPUB 28371" # Le avventure d'Alice nel paese delle meraviglie -EPUB="$EPUB 28885" # Alice's Adventures in Wonderland -EPUB="$EPUB 30510" # Perolas e Diamantes - -for epub in $EPUB ; do - url=http://www.gutenberg.org/cache/epub/$epub/pg$epub-images.epub - remote_file=$(basename $(curl -4 -s -L -w %{url_effective} -I $url | tail -1)) - bundle=$CACHE_DIR/$remote_file - if [ ! -f $bundle ] ; then - curl -s -4 -L $url > $bundle - fi - cp -p $bundle $BUNDLES_DIR -done - # get the script to install the activities cp -p $WD/../install-activity.py . chmod a+x ./install-activity.py |