Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions neofetch
Original file line number Diff line number Diff line change
Expand Up @@ -1080,6 +1080,11 @@ get_distro() {
read -ra kernel_info <<< "$(sysctl -n kern.version)"
distro=${kernel_info[*]:0:2}

elif [[ -f /etc/VERSION ]]; then
# Source the DSM VERSION file
source /etc/VERSION
distro="Synology DSM ${productversion}-${buildnumber} Update ${smallfixnumber}"

else
for release_file in /etc/*-release; do
distro+=$(< "$release_file")
Expand Down Expand Up @@ -1536,6 +1541,7 @@ get_packages() {
has alps && tot alps showinstalled
has butch && tot butch list
has swupd && tot swupd bundle-list --quiet
has dpkg && pkgs_h=5 tot dpkg --list
Copy link
Owner

@dylanaraps dylanaraps Jun 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will fix this in master myself. 👍


# 'mine' conflicts with minesweeper games.
[[ -f /etc/SDE-VERSION ]] &&
Expand Down