You can share and discuss your work with other graphics designers here.
-
Rava
- Contributor
- Posts: 5416
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Post#16
by Rava » 18 Nov 2021, 22:17
ncmprhnsbl wrote: ↑18 Nov 2021, 21:26
fyi, neofetch is packaged in slackware current ..
I also found 20210904_77f2afc3 - but since I was unsure what version that is I still went the neofetch.SlackBuild way. But I used neofetch-20210904_77f2afc3-noarch-1.txz as skeleton base for my module.
Could be neofetch-20210904_77f2afc3 is just neofetch-7.0.0 though.
Cheers!
Yours Rava
Rava
-
ncmprhnsbl
- DEV Team
- Posts: 3941
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
-
Contact:
Post#17
by ncmprhnsbl » 18 Nov 2021, 22:47
Rava wrote: ↑18 Nov 2021, 22:17
Could be neofetch-20210904_77f2afc3 is just neofetch-7.0.0 though.
it would be direct from the git repo circa 2021-09-04, commit 77f2afc3 which is newer than the 7.1.0 release :
https://github.com/dylanaraps/neofetch/ ... /tag/7.1.0 (august)
doubtful any of that matters much in terms of functionality..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
ncmprhnsbl
-
Rava
- Contributor
- Posts: 5416
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Post#18
by Rava » 19 Nov 2021, 05:11
ncmprhnsbl wrote: ↑18 Nov 2021, 22:47
it would be direct from the git repo circa 2021-09-04, commit 77f2afc3 which is newer than the 7.1.0 release :
https://github.com/dylanaraps/neofetch/ ... /tag/7.1.0 (august)
doubtful any of that matters much in terms of functionality..
I wondered why some programs (not only for Slackware, but for other Linux distros as well) had this weird Date_random in its name instead of the usual version number. But that explains it. Most likely all have been git repo circa date YYYY-MM-DD commit WhAtEvEr …
I would prefer if the
version number is also part of the package name since it is silly when you would have to look it up on github yourself. Oh well. You cannot have it all.
Added in 4 minutes 14 seconds:
Anyhow, do you know what these comments at the top of its main bash script are about:
Code: Select all
# shellcheck source=/dev/null
# shellcheck disable=2009
I have to admit that I do not get the code later on that is also about shellcheck like this one
:
Code: Select all
# shellcheck disable=SC2206
dir() { pkgs=($@); ((packages+=${#pkgs[@]})); pac "$((${#pkgs[@]}-pkgs_h))";
}
pac() { (($1 > 0)) && { managers+=("$1 (${manager})"); manager_string+="${ma
nager}, "; }; }
tot() {
IFS=$'\n' read -d "" -ra pkgs <<< "$("$@")";
((packages+=${#pkgs[@]}));
pac "$((${#pkgs[@]}-pkgs_h))";
}
Cheers!
Yours Rava
Rava
-
Rava
- Contributor
- Posts: 5416
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Post#20
by Rava » 19 Nov 2021, 20:05
ncmprhnsbl wrote: ↑19 Nov 2021, 06:36
to do with the script being compliant with shellcheck* recommendations ...up to a point..
good to know. then these code snippets are nothing I need to understand to begin with.
Cheers!
Yours Rava
Rava