diff --git a/Makefile b/Makefile index 501708f..46c9d03 100644 --- a/Makefile +++ b/Makefile @@ -42,10 +42,8 @@ locale/matt.pot: $(SRCS) xgettext -k_ -c $^ -o $@ install: - install -d -m700 $(DESTDIR)/etc/matt - install -d -m700 $(DESTDIR)/var/lib/matt + install -d -m755 $(DESTDIR)/var/lib/matt install -m755 dist/matt $(DESTDIR)/$(PREFIX)/bin/matt - install -m600 install/config.ini $(DESTDIR)/etc/matt/config.ini @for po in $(PO_DIRS) ; do \ echo "installing locale: $$po/matt.mo" ; \ mkdir -pv $(DESTDIR)/$(PREFIX)/share/$$po ; \ @@ -61,4 +59,8 @@ uninstall: format: clang-format -i -style=file src/*.c src/*.h -.PHONY: install uninstall format +config: + install -d -m755 $(DESTDIR)/etc/matt + install -m644 install/config.ini $(DESTDIR)/etc/matt/config.ini + +.PHONY: install uninstall format config diff --git a/locale/tr/LC_MESSAGES/matt.po b/locale/tr/LC_MESSAGES/matt.po index 529294c..6944a4f 100644 --- a/locale/tr/LC_MESSAGES/matt.po +++ b/locale/tr/LC_MESSAGES/matt.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-08-09 03:00+0300\n" +"POT-Creation-Date: 2024-08-11 01:49+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -114,8 +114,8 @@ msgid "Command not found: " msgstr "Command not found: " #: src/main.c:161 -#, c-format -msgid "MatterLinux package manager (version %s)" +#, fuzzy, c-format +msgid "MatterLinux package manager %s (libmp %s)" msgstr "MatterLinux package manager (version %s)" #: src/main.c:162 diff --git a/src/main.c b/src/main.c index 3ad62f0..fc31c71 100644 --- a/src/main.c +++ b/src/main.c @@ -158,7 +158,7 @@ int main(int argc, char *argv[], char *envp[]) { error(_("Command not found: " FG_BOLD "%s"), args->list[0].value); help: - info(_("MatterLinux package manager (version %s)"), VERSION); + info(_("MatterLinux package manager %s (libmp %s)"), VERSION, LM_VERSION); info(_("Usage: " FG_BOLD "%s [command] "), argv[0]); printf("\n"); info(_("Here is a list of available commands:"));