From 19816c7e8331c3f10b7a526e62c7bb070cc3835c Mon Sep 17 00:00:00 2001 From: "Eshan Roy (Eshanized)" Date: Sat, 9 Mar 2024 02:31:21 +0530 Subject: [PATCH] =?UTF-8?q?@eshanized=20pushed=20another=20commit=20via=20?= =?UTF-8?q?script=20=F0=9F=94=A5=F0=9F=94=A5=F0=9F=94=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/snigdhaos-updater/core-script | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 common/snigdhaos-updater/core-script diff --git a/common/snigdhaos-updater/core-script b/common/snigdhaos-updater/core-script new file mode 100644 index 00000000..d329f43d --- /dev/null +++ b/common/snigdhaos-updater/core-script @@ -0,0 +1,17 @@ +#!/bin/bash +set -e + +init_logging(){ + if [ ! -d /var/log/snigdhaos/ ]; then + mkdir -p -m 755 /var/log/snigdhaos/ + fi + + echo -e "\n>-<->-< snigdhaos-updater at $(date +"%Y-%m-%d %R %Z(%:::z)")\n" >>/var/log/snigdhaos/snigdhaos-updater + exec &> >(stdbuf -i0 -o0 -e0 tee >(sed '')) #incshx002 +} + +parse_pacman_log(){ + +} + +update_mirrorlist(){} \ No newline at end of file