dot

packages and services management
Log | Files | Refs | README

commit 10f4eccb42d454bb3819978180f037d44d405f52
parent e7c1290ee60b12e1f1edb873e98c617d51e74bd2
Author: Josuah Demangeon <josuah.demangeon@gandi.net>
Date:   Sat, 12 Aug 2017 16:07:37 +0200

iomenu/bin/io: fixing session list not updating

Diffstat:
Miomenu/bin/io | 11+++--------
Amini_httpd/build | 4++++
Amini_httpd/start | 1+
Amini_httpd/tar | 1+
4 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/iomenu/bin/io b/iomenu/bin/io @@ -6,10 +6,10 @@ mkdir -p "$HOME/.abduco" touch "$HOME/.abduco/names" -# update session names for displaying them +# update sessions list grep -F -e "$( - abduco | awk -F '\t' 'NR > 1 { print $3 }' + abduco | awk -F '\t' 'NR > 1 { print $3 " " }' )" "$HOME/.abduco/names" | sort -uk 2,2 -o "$HOME/.abduco/names" @@ -36,13 +36,8 @@ fi hash=$(printf %s "$path" | cksum | cut -d ' ' -f 1) -# update session names with the new entry - -printf '%s %s\n' "$hash" "$path" >> "$HOME/.abduco/names" -sort -uk 2,2 "$HOME/.abduco/names" -o "$HOME/.abduco/names" - - # create session or attach to it +printf '%s %s\n' "$hash" "$path" >> "$HOME/.abduco/names" [ "$SSH_TTY" ] && e='^\' || e='^Z' [ "$ABDUCO" != "$hash" ] && ABDUCO=$hash exec abduco -e "$e" -A "$hash" "$@" diff --git a/mini_httpd/build b/mini_httpd/build @@ -0,0 +1,4 @@ +make +mkdir -p "$PREFIX/bin" "$PREFIX/share/man/man8" +cp mini_httpd "$PREFIX/bin" +cp mini_httpd.8 "$PREFIX/share/man/man8" diff --git a/mini_httpd/start b/mini_httpd/start @@ -0,0 +1 @@ +mini_httpd -D -v -d "$VAR/www" -dd "$VAR/www" & PID=$! diff --git a/mini_httpd/tar b/mini_httpd/tar @@ -0,0 +1 @@ +http://www.acme.com/software/mini_httpd/mini_httpd-1.27.tar.gz