diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/.bashrc | 2 | ||||
| -rw-r--r-- | config/install.sh | 11 |
2 files changed, 3 insertions, 10 deletions
diff --git a/config/.bashrc b/config/.bashrc index a3cde0d..3e45713 100644 --- a/config/.bashrc +++ b/config/.bashrc @@ -56,9 +56,7 @@ function enable_dev_mode() { inflate /opt/asdf.tar.zst /opt inflate /usr/lib/gcc.tar.zst /usr/lib -inflate /usr/lib/mono.tar.zst /usr/lib inflate /usr/lib/rustlib.tar.zst /usr/lib -inflate /usr/share/dotnet.tar.zst /usr/share # shellcheck source=/dev/null . "$ASDF_DATA_DIR/asdf.sh" diff --git a/config/install.sh b/config/install.sh index 2868c94..a93451b 100644 --- a/config/install.sh +++ b/config/install.sh @@ -81,8 +81,6 @@ wget -q -O /etc/apt/sources.list.d/microsoft-prod.list https://packages.microsof apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF echo "deb https://download.mono-project.com/repo/debian stable-buster main" | tee /etc/apt/sources.list.d/mono-official-stable.list -apt-get update -q -apt-get install -y --no-install-recommends dotnet-sdk-3.1 mono-complete & curl -o /usr/local/bin/nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe & echo -e "section_end:$(date +%s):install_dotnet\r\e[0K" @@ -112,6 +110,9 @@ wait echo -e "section_end:$(date +%s):install_asdf\r\e[0K" echo -e "section_start:$(date +%s):cleanup\r\e[0K==> Beginning cleanup…" +apt purge -y libx11-6 libwayland-client0 +apt autoremove -y + rm -fr /tmp mkdir -p /tmp chmod 777 /tmp @@ -179,14 +180,8 @@ cd /usr/lib tar --use-compress-program "$zstd_command" -cf /usr/lib/gcc.tar.zst gcc & cd /usr/lib -tar --use-compress-program "$zstd_command" -cf /usr/lib/mono.tar.zst mono & - -cd /usr/lib tar --use-compress-program "$zstd_command" -cf /usr/lib/rustlib.tar.zst rustlib & -cd /usr/share -tar --use-compress-program "$zstd_command" -cf /usr/share/dotnet.tar.zst dotnet & - wait rm -fr \ /opt/asdf/ \ |
