diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-05-27 17:59:43 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-05-27 17:59:43 -0300 |
commit | 0ac89cdeb1d03c2dcb4f804497c4be7f9ac14236 (patch) | |
tree | 48734bc77ab4d988a9bfe00dcc3dd00b902a5d12 | |
parent | 2b9f7ee6c1a61207253fc7836315d9610b339f24 (diff) | |
download | apps-0ac89cdeb1d03c2dcb4f804497c4be7f9ac14236.tar.gz apps-0ac89cdeb1d03c2dcb4f804497c4be7f9ac14236.tar.bz2 |
Adds lsd script
-rwxr-xr-x | lsd | 26 | ||||
m--------- | ssl-wrapper | 0 | ||||
m--------- | termplex | 0 | ||||
m--------- | utils-git | 0 | ||||
m--------- | utils-gpg | 0 | ||||
m--------- | utils-spreadsheet | 0 | ||||
m--------- | utils-ssh | 0 | ||||
m--------- | utils-tor | 0 | ||||
m--------- | utils-x11 | 0 | ||||
m--------- | wrappers | 0 |
10 files changed, 26 insertions, 0 deletions
@@ -0,0 +1,26 @@ +#!/bin/bash +# +# Lightweight Software Distribution (LSD) Management Script +# + +# Parameters +BASENAME="`basename $0`" +ACTION="$1" + +# List apps +function lsd_list { + #find -maxdepth 2 -iname 'readme*' -exec head -1 {} \; + find -maxdepth 2 -iname 'readme*' | while read readme; do + if [ "$readme" == "./README.md" ]; then + continue + fi + + echo -n "`dirname $readme | sed -e 's/^.\///'`: " + head -1 $readme + done +} + +# Dispatch +if [ -z "$ACTION" ] || [ "$ACTION" == "list" ]; then + lsd_list +fi diff --git a/ssl-wrapper b/ssl-wrapper -Subproject 634e38ccfc2f653bde87f48d507e43dcd8bc2f2 +Subproject f4585b0d030d870fcaacbf8c70b11f423ee72dc diff --git a/termplex b/termplex -Subproject 777ce6973d8aa569db0fe4ebe36761747392d9c +Subproject 4c0902c24e41313b88b9f3b5eeea6c06f335df3 diff --git a/utils-git b/utils-git -Subproject 245c01d03b472118d212d97ddc1d9962399bf04 +Subproject 068a857b6e5fcb52855ef8baea6b2830047e306 diff --git a/utils-gpg b/utils-gpg -Subproject 938f197fab41d867da881f92014ad52922a1ee3 +Subproject cefbc9617467936c4eea9debe7503cbdce3c437 diff --git a/utils-spreadsheet b/utils-spreadsheet -Subproject e08e48fab417bb7a6c8664d2f18a1338337ac42 +Subproject bcbd7448095dccce1d3ec8f5e6e2406a1e6241c diff --git a/utils-ssh b/utils-ssh -Subproject 3c528082d64fbd01a723d65563e1d3645bc5f8f +Subproject 41d6b78bdb3fd998308818fce2dd017c1eb136f diff --git a/utils-tor b/utils-tor -Subproject 1c60bc05815c50b28aea23eb47359f62e188241 +Subproject a08b60fa589b37adde59599396f7a761a47aa6e diff --git a/utils-x11 b/utils-x11 -Subproject b0b13a93f6bac631234abcb00ccea225257cf47 +Subproject fe1581f85427b4918a5a73aa3fb86c992cb1131 diff --git a/wrappers b/wrappers -Subproject 2b3bb04fcdf4f7bc1281a11a654f3b1a3277f59 +Subproject adce0a14f172899279512c5616c07c34792a419 |