style: improve user-facing information
This commit is contained in:
parent
7c6fa3f4c6
commit
35fd83db7f
4 changed files with 5 additions and 3 deletions
|
@ -103,7 +103,8 @@ the handler will be installed, made available and used.
|
||||||
- Debug corner cases
|
- Debug corner cases
|
||||||
- Handler preparation - update repos and cache last update time in /tmp
|
- Handler preparation - update repos and cache last update time in /tmp
|
||||||
- Handler providers e.g. different make mechanisms on arch and debian
|
- Handler providers e.g. different make mechanisms on arch and debian
|
||||||
- Run scripts in tempdir by default?
|
- Run file in tempdir by default?
|
||||||
|
- Handler for downloaded scripts (e.g. passff-host, funkwhale)
|
||||||
|
|
||||||
### Windows
|
### Windows
|
||||||
- Install choco and git offline
|
- Install choco and git offline
|
||||||
|
|
4
instalee
4
instalee
|
@ -40,7 +40,7 @@ installpkg() {
|
||||||
return 2
|
return 2
|
||||||
fi
|
fi
|
||||||
for pkg in $pkgs
|
for pkg in $pkgs
|
||||||
do highlight "$pkg"
|
do highlight "Installing $(echo ${pkg#$home/packages/} | sed 's|\(.*\)/|\1 via |')"
|
||||||
set -e
|
set -e
|
||||||
local name="$(basename $pkg)"
|
local name="$(basename $pkg)"
|
||||||
local base="${name%_*}"
|
local base="${name%_*}"
|
||||||
|
@ -73,7 +73,7 @@ chmod +rx "$home/handlers" -R
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
(-V|--version|"")
|
(-V|--version|"")
|
||||||
printf "$0 r%s.%s\n" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
printf "$name r%s.%s\n" "$(git rev-list --count HEAD 2>/dev/null)" "$(git rev-parse --short HEAD 2>/dev/null)"
|
||||||
echo "Try '$0 --help' or 'man $name' for usage info"
|
echo "Try '$0 --help' or 'man $name' for usage info"
|
||||||
# TODO license https://www.gnu.org/prep/standards/html_node/_002d_002dversion.html#g_t_002d_002dversion
|
# TODO license https://www.gnu.org/prep/standards/html_node/_002d_002dversion.html#g_t_002d_002dversion
|
||||||
exit 0
|
exit 0
|
||||||
|
|
1
packages/funkwhale/linux
Executable file
1
packages/funkwhale/linux
Executable file
|
@ -0,0 +1 @@
|
||||||
|
sudo sh -c "$(curl -sSL https://get.funkwhale.audio/)"
|
0
packages/sampitor/cargo
Normal file
0
packages/sampitor/cargo
Normal file
Loading…
Add table
Reference in a new issue