Various small fixes

This commit is contained in:
thomas committed 2024-12-27 00:47:42 +01:00
1 parent feb789c989
commit c828dfc2e6
3 files changed
+7 -5

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
HASH="%C(yellow)%h%C(reset)"
RELATIVE_TIME="%C(green)%ar%C(reset)"
+5 -3
View File
@@ -3,7 +3,7 @@
function install_pkg() {
if hash apt-get 2>/dev/null; then
sudo -n apt-get update
sudo -n DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ${$}
sudo -n DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ${@}
return
fi
@@ -87,8 +87,10 @@ function main() {
install_pkg locales less
#echo "sv_SE.UTF-8 UTF-8" | sudo tee -a /etc/locale.gen
#sudo locale-gen
if [[ ${REMOTE_CONTAINERS} || ${DEVCONTAINER} ]]; then
echo "sv_SE.UTF-8 UTF-8" | sudo tee -a /etc/locale.gen
sudo locale-gen
fi
setup_fish
setup_ssh
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
cd "$(dirname "$0")/.."