setup

personal system configuration scripts
git clone git://git.pyratebeard.net/setup.git
Log | Files | Refs | README

commit db36810e7ffbf14df4bbd458c437401dfe23f842
parent 853e32f20d1aab15255d89af5a8255df2d5c45f4
Author: pyratebeard <root@pyratebeard.net>
Date:   Mon, 11 Dec 2023 22:27:38 +0000

use bash. remove apt var

Diffstat:
Mkickstart | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/kickstart b/kickstart @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # # ██ ██ ██ ██ ██ # ░██ ░░ ░██ ░██ ░██ @@ -30,8 +30,8 @@ if command -v pacman >/dev/null ; then PKGDEL="pacman -Rs --noconfirm" elif command -v apt >/dev/null ; then UPDATE="apt update" - PKGADD="DEBIAN_FRONTEND=noninteractive apt install -y" - PKGADD="DEBIAN_FRONTEND=noninteractive apt remove -y" + PKGADD="apt install -y" + PKGADD="apt remove -y" elif command -v pkg_add >/dev/null ; then UPDATE="pkg_add -I -u" PKGADD="pkg_add -I"