nsxiv56cd150
Fixed setuid and typo in Makefile, damn copy&paste
+2 −2
2 files changed
| @@ -18,7 +18,7 @@ sxiv: $(OBJFILES) | |||
| 18 | 18 | $(CC) $(CFLAGS) -c -o $@ $< | |
| 19 | 19 | ||
| 20 | 20 | install: all | |
| 21 | − | install -D -m 4755 -o root -g root sxiv $(PREFIX)/bin/sxiv | |
| 21 | + | install -D -m 755 -o root -g root sxiv $(PREFIX)/bin/sxiv | |
| 22 | 22 | mkdir -p $(PREFIX)/share/man/man1 | |
| 23 | 23 | sed "s/VERSION/$(VERSION)/g" sxiv.1 > $(PREFIX)/share/man/man1/sxiv.1 | |
| 24 | 24 | chmod 644 $(PREFIX)/share/man/man1/sxiv.1 | |
| @@ -16,7 +16,7 @@ sxiv is built using the commands: | |||
| 16 | 16 | ||
| 17 | 17 | Please note, that the latter one requires root privileges. | |
| 18 | 18 | By default, sxiv is installed using the prefix "/usr/local", so the full path | |
| 19 | − | of the executable will be "/usr/local/sbin/sxiv". | |
| 19 | + | of the executable will be "/usr/local/bin/sxiv". | |
| 20 | 20 | ||
| 21 | 21 | You can install it into a directory of your choice by changing the second | |
| 22 | 22 | command to: | |