Add kodachi

This commit is contained in:
zenobit 2025-03-02 19:41:28 +01:00
parent 76cc66ecdf
commit 9f6b5cb2e3
1 changed files with 20 additions and 0 deletions

20
actions/kodachi Normal file
View File

@ -0,0 +1,20 @@
#!/usr/bin/bash
# Template file for 'kodachi'
OSNAME="kodachi"
PRETTY="Kodachi"
BASEDOF="Ubuntu"
HOMEPAGE="https://www.digi77.com/linux-kodachi/"
DESCRIPTION="Provide you with a secure, anti forensic, and anonymous operating system considering all features that a person who is concerned about privacy would need to have in order to be secure"
CREDENTIALS="kodachi:r@@t00,root:r@@t00"
function releases_() {
echo latest
}
function get_() {
local HASH=""
local ISO=$(web_pipe "https://sourceforge.net/projects/linuxkodachi/rss?path=/" | grep 'title><!\[CDATA' | cut -d'[' -f3 | cut -d']' -f1 | grep '\.iso' | head -1)
local HASH=$(web_pipe "https://sourceforge.net/projects/linuxkodachi/rss?path=/" | grep 'title><!\[CDATA' | cut -d'[' -f3 | cut -d']' -f1 | grep "${ISO}\.sig" | cut -d' ' -f1)
local URL="https://sourceforge.net/projects/linuxkodachi/files"
echo "${URL}${ISO} ${HASH}"
}