--- /dev/null
+#!/bin/bash
+
+function help() {
+ echo "Script returns first 7 signs of immudex commit ID.";
+ echo;
+ echo "Usage: immudex-version [--help] [--version]";
+ echo;
+ echo "Options:";
+ echo " --help Print this message.";
+ echo " --version Print information about version, author and copyrights.";
+ echo;
+ echo "Files:";
+ echo " /run/live/medium/live/changelog Stores information about currently running immudex image.";
+ echo;
+ echo "Report bugs to <xf0r3m@gmail.com>";
+}
+
+function version(){
+ echo "immudex-version 1.0";
+ echo;
+ echo "Copyright (C) 2026 morketsmerke.org";
+ echo "This is free software; see the source for copying conditions. There is NO";
+ echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.";
+ echo;
+ echo "Written by xf0r3m.";
+}
+
+if [ "$1" ]; then
+ if [ "$1" = "--help" ]; then
+ help;
+ exit 0;
+ elif [ "$1" = "--version" ]; then
+ version;
+ exit 0;
+ fi
+fi
+
+eval $(grep '^COMMIT' /run/live/medium/live/changelog)
+echo $COMMIT | awk '{printf $1}' | cut -c 1-7
#!/bin/bash
+
+#function help() {
+# echo "This script does noting. It's a collection of functions uses by";
+# echo "other tools, by import this file into it self. Man page for this script";
+# echo "can be usefull for describe above mentioned functions.";
+# echo;
+# echo "Notes:";
+# echo -e " get_debian_branch() Can be used for convert Debian codename for Debian branch name\n";
+# echo -e " get_machine_arch() Used for getting information is this 32 or 64-bit architecture.\n";
+# echo -e " check_distro_commit() Is used for decide that you use a latest version immudex if there are commit ahead your image, this script returns 0, otherwise 1.\n";
+# echo -e " ascii_colors() Prints immudex name in ASCII manuali.\n";
+# echo;
+# echo "Usage: source /usr/local/bin/library.sh";
+# echo;
+# echo "Options:";
+# echo " There is no options... Function help and version are used only for generate man page file and will be comment out after this.";
+# echo;
+# echo "Report bugs to <xf0r3m@gmail.com>";
+#}
+
+#function version(){
+# echo "library.sh 1.0";
+# echo;
+# echo "Copyright (C) 2026 morketsmerke.org";
+# echo "This is free software; see the source for copying conditions. There is NO";
+# echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.";
+# echo;
+# echo "Written by xf0r3m.";
+#}
+
+
function get_debian_branch() {
if grep -q 'trixie' /etc/os-release; then
echo "testing";
echo -e "${ENDCOLOR}";
}
+
+#if [ "$1" ]; then
+# if [ "$1" = "--help" ]; then
+# help;
+# exit 0;
+# elif [ "$1" = "--version" ]; then
+# version;
+# exit 0;
+# fi
+#fi
+++ /dev/null
-immudex-padlock: gnome-icon-theme
+++ /dev/null
-#!/bin/bash
-
-eval $(grep '^COMMIT' /run/live/medium/live/changelog)
-echo $COMMIT | awk '{printf $1}' | cut -c 1-7
--- /dev/null
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
+.TH IMMUDEX-VERSION "1" "April 2026" "immudex-version 1.0" "User Commands"
+.SH NAME
+immudex-version \- immudex image commit
+.SH SYNOPSIS
+.B immudex-version
+[\fI\,--help\/\fR] [\fI\,--version\/\fR]
+.SH DESCRIPTION
+Script returns first 7 signs of immudex commit ID.
+.SH OPTIONS
+.TP
+\fB\-\-help\fR
+Print this message.
+.TP
+\fB\-\-version\fR
+Print information about version, author and copyrights.
+.SH FILES
+.TP
+\fI\,/run/live/medium/live/changelog\/\fP
+Stores information about currently running immudex image.
+.SH AUTHOR
+Written by xf0r3m.
+.SH "REPORTING BUGS"
+Report bugs to <xf0r3m@gmail.com>
+.SH COPYRIGHT
+Copyright \(co 2026 morketsmerke.org
+.br
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+.SH "SEE ALSO"
+The full documentation for
+.B immudex-version
+is maintained as a Texinfo manual. If the
+.B info
+and
+.B immudex-version
+programs are properly installed at your site, the command
+.IP
+.B info immudex-version
+.PP
+should give you access to the complete manual.
--- /dev/null
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
+.TH LIBRARY.SH "1" "April 2026" "library.sh 1.0" "User Commands"
+.SH NAME
+library.sh \- collection of BASH function
+.SH SYNOPSIS
+.B source
+\fI\,/usr/local/bin/library.sh\/\fR
+.SH DESCRIPTION
+This script does noting. It's a collection of functions uses by
+other tools, by import this file into it self. Man page for this script
+can be usefull for describe above mentioned functions.
+.SS "Notes:"
+.TP
+get_debian_branch()
+Can be used for convert Debian codename for Debian branch name
+.TP
+get_machine_arch()
+Used for getting information is this 32 or 64\-bit architecture.
+.TP
+check_distro_commit()
+Is used for decide that you use a latest version immudex if there are commit ahead your image, this script returns 0, otherwise 1.
+.TP
+ascii_colors()
+Prints immudex name in ASCII manuali.
+.SH OPTIONS
+.TP
+There is no options...
+Function help and version are used only for generate man page file and will be comment out after this.
+.SH AUTHOR
+Written by xf0r3m.
+.SH "REPORTING BUGS"
+Report bugs to <xf0r3m@gmail.com>
+.SH COPYRIGHT
+Copyright \(co 2026 morketsmerke.org
+.br
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+.SH "SEE ALSO"
+The full documentation for
+.B library.sh
+is maintained as a Texinfo manual. If the
+.B info
+and
+.B library.sh
+programs are properly installed at your site, the command
+.IP
+.B info library.sh
+.PP
+should give you access to the complete manual.