Skip to content

Commit

Permalink
add make.sh deps support for openSUSE
Browse files Browse the repository at this point in the history
  • Loading branch information
d99kris committed Mar 24, 2024
1 parent 896c23f commit a762c8c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/common/src/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@

#pragma once

#define NCHAT_VERSION "4.42"
#define NCHAT_VERSION "4.43"
2 changes: 2 additions & 0 deletions make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ if [[ "${DEPS}" == "1" ]]; then
sudo xbps-install ${YES} base-devel go ccache cmake gperf help2man libmagick-devel readline-devel sqlite-devel file-devel openssl-devel || exiterr "deps failed (${NAME}), exiting."
elif [[ "${NAME}" == "Alpine Linux" ]]; then
sudo apk add git build-base cmake ncurses-dev openssl-dev sqlite-dev file-dev go linux-headers zlib-dev ccache gperf readline || exiterr "deps failed (${NAME}), exiting."
elif [[ "${NAME}" == "openSUSE Tumbleweed" ]]; then
sudo zypper install ${YES} -t pattern devel_C_C++ && sudo zypper install ${YES} go ccache cmake libopenssl-devel sqlite3-devel file-devel readline-devel || exiterr "deps failed (${NAME}), exiting."
else
exiterr "deps failed (unsupported linux distro ${NAME}), exiting."
fi
Expand Down
2 changes: 1 addition & 1 deletion src/nchat.1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man.
.TH NCHAT "1" "March 2024" "nchat v4.42" "User Commands"
.TH NCHAT "1" "March 2024" "nchat v4.43" "User Commands"
.SH NAME
nchat \- ncurses chat
.SH SYNOPSIS
Expand Down

0 comments on commit a762c8c

Please sign in to comment.