summaryrefslogtreecommitdiff
path: root/config/files/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'config/files/.bashrc')
-rw-r--r--config/files/.bashrc8
1 files changed, 3 insertions, 5 deletions
diff --git a/config/files/.bashrc b/config/files/.bashrc
index b37ae94..7017be5 100644
--- a/config/files/.bashrc
+++ b/config/files/.bashrc
@@ -7,7 +7,6 @@ export HOME="/opt/gitlab"
alias nuget='mono /usr/local/bin/nuget.exe'
set -o vi
-
function inflate() {
local file=$1
local to_dir=$2
@@ -59,14 +58,13 @@ function enable_dev_mode() {
apt-get install -y --no-install-recommends vim less shellcheck
}
-inflate /opt/asdf.tar.zst /opt
-inflate /opt/gitlab/.cache.tar.zst /opt/gitlab
+if [ ! -d "/opt/asdf" ]; then
+ dpkg -i /opt/toolcache/asdf_*.deb
+fi
inflate /opt/gitlab/.config.tar.zst /opt/gitlab
inflate /opt/gitlab/.m2.tar.zst /opt/gitlab
inflate /opt/gitlab/embedded.tar.zst /opt/gitlab
inflate /usr/include.tar.zst /usr
-inflate /usr/lib/elixir.tar.zst /usr/lib
-inflate /usr/lib/erlang.tar.zst /usr/lib
inflate /usr/lib/gcc.tar.zst /usr/lib
inflate /usr/lib/git-core.tar.zst /usr/lib
inflate /usr/lib/llvm-7.tar.zst /usr/lib