From f787acd9d10cff683dc047bab4291e4eeca9ba4f Mon Sep 17 00:00:00 2001 From: anthk Date: Sun, 7 Mar 2021 13:19:37 +0000 Subject: =?UTF-8?q?A=C3=B1adido=20pack?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 ++ bin/pack | 10 ++++++++++ oldrunner | 1 + 3 files changed, 13 insertions(+) create mode 100755 bin/pack create mode 160000 oldrunner diff --git a/README.md b/README.md index f6043f3..b6a95cf 100644 --- a/README.md +++ b/README.md @@ -10,4 +10,6 @@ Lista: Lector de ebooks, necesita de Lynx y unzip. +2. bin/pack +Generador de paquetes .tgz con el directorio como argumento. diff --git a/bin/pack b/bin/pack new file mode 100755 index 0000000..31993ab --- /dev/null +++ b/bin/pack @@ -0,0 +1,10 @@ +#!/bin/sh +if [[ $# -ne 1 ]] +then +echo "usage: $0 path" +exit 1 +fi +FILE="$(basename "$1" /)" +echo "generating $FILE.tgz..." +tar czf "$FILE".tgz $1 +echo "done." diff --git a/oldrunner b/oldrunner new file mode 160000 index 0000000..0e7efca --- /dev/null +++ b/oldrunner @@ -0,0 +1 @@ +Subproject commit 0e7efca5197af25e563e86ca616c85f26a3a3521 -- cgit v1.2.3