Compare commits

..

No commits in common. "b2f5793c2181c3e3a067816065e557f8cacf03a0" and "b30dea35b86fcede09232a1c8c4897d46e475bd5" have entirely different histories.

4 changed files with 0 additions and 94 deletions

1
.gitignore vendored
View File

@ -1 +0,0 @@
pacundo

View File

@ -1,39 +0,0 @@
# Copyright (C) 2024 Ortega Froysa, Nicolás <nicolas@ortegas.org> All rights reserved.
# Author: Ortega Froysa, Nicolás <nicolas@ortegas.org>
#
# This software is provided 'as-is', without any express or implied
# warranty. In no event will the authors be held liable for any damages
# arising from the use of this software.
#
# Permission is granted to anyone to use this software for any purpose,
# including commercial applications, and to alter it and redistribute it
# freely, subject to the following restrictions:
#
# 1. The origin of this software must not be misrepresented; you must not
# claim that you wrote the original software. If you use this software
# in a product, an acknowledgment in the product documentation would be
# appreciated but is not required.
#
# 2. Altered source versions must be plainly marked as such, and must not be
# misrepresented as being the original software.
#
# 3. This notice may not be removed or altered from any source
# distribution.
PREFIX=/usr/local
pacundo: pacundo.pl
pp -o $@ $^
pacundo.1.gz: pacundo.1
gzip -c $^ > $@
.PHONY: install clean
clean:
$(RM) pacundo
$(RM) pacundo.1.gz
install: pacundo pacundo.1.gz
install -m 755 pacundo $(PREFIX)/bin/
install -m 644 pacundo.1.gz $(PREFIX)/share/man/man1/

View File

@ -11,14 +11,6 @@ Dependencies:
- Perl 5
- `File::ReadBackwards` module
- PAR Packager (for compiling)
- GNU Makefile
You can install these packages with the following command:
```console
# pacman -S perl perl-file-readbackwards perl-par-packer
```
## License

View File

@ -1,46 +0,0 @@
.TH PACUNDO "1" "April 2024" "pacundo 1.0" "User Commands"
.SH "NAME"
pacundo - A time machine to return your ArchLinux machine back to a working state.
.SH "SYNOPSIS"
.B pacundo
[\fI\-i\fR|\fI\-r\fR] [\fI\-t\fR <\fInum\fR>] [\fI\-d\fR]
.B pacundo
\fI\-h\fR
.B pacundo
\fI\-v\fR
.SH "DESCRIPTION"
This program helps to undo the last pacman/yay transactions automatically, which
is especially helpful if the last update broke your system for some reason.
\fBNote:\fR the term \fItransaction\fR refers to an operation done by pacman
(e.g. all packages upgraded by \fIpacman -Syu\fR).
.SH "OPTIONS"
.TP
\fB\-i\fR
Interactively select the transactions to undo (default behavior)
.TP
\fB\-r\fR
Non-interactively undo transactions
.TP
\fB\-t\fR <\fInum\fR>
Select number of transactions to include (default: 1)
.TP
\fB\-h\fR
Show help information
.TP
\fB\-v\fR
Show program version
.SH "AUTHOR"
Written by Nicolás A. Ortega Froysa.
.SH "COPYRIGHT"
Copyright \(co 2024 Ortega Froysa, Nicolás A. <nicolas@ortegas.org>.
License: ZLib License.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.