Commit graph

22 commits

Author SHA1 Message Date
08410b71c0
Update pkgrecover.sh 2024-09-23 00:09:30 -05:00
mrhoomanwastaken
0eec8cceb0
Fix issues involving sudo and root. (#1)
* Fix issues involving sudo and root.

Removed the usage of sudo in the script because it stops pacman from running.
The script will now warn you if you are not root, but it will not stop the script from running to allow usage of dry-run without root privileges.

* Update pkgrecover.sh

Will now check to make sure the important directories are mounted.

* Update pkgrecover.sh

Will now stop people from trying to install packages without root privileges.

* Update pkgrecover.sh

---------

Co-authored-by: Eduard Tolosa <tolosaeduard@gmail.com>
2024-09-23 00:06:17 -05:00
07defa580c
Update README.md 2024-08-18 22:13:46 -05:00
95e2bae897
Update README.md 2024-06-09 14:35:46 -05:00
bc83262ad8
Update README.md 2024-06-09 14:20:35 -05:00
15054cc1d2
Update README.md 2024-06-09 14:19:10 -05:00
0c4d8ca46e
Update README.md 2024-06-09 14:13:41 -05:00
b53d62fb7c
Update README.md 2024-06-09 14:13:15 -05:00
63c14b2811 Add more informative message in case that paclog is not found.
Add version.
2024-06-09 14:09:55 -05:00
bc17ff70ec Add option to use auto-configure pacman-static in case that pacman is broken using the USE_PACMAN_STATIC=true environment variable 2024-06-09 14:00:57 -05:00
d940a7a7a5 Merge branch 'master' of https://github.com/Edu4rdSHL/archlinux-pkgrecover 2024-06-09 13:15:11 -05:00
c4e8f8c233 Use --overwrite=* by default and remove --noconfirm 2024-06-09 13:15:08 -05:00
43eb69f7f1
Create LICENSE 2024-05-28 02:50:25 -05:00
40c6394220 Update docs. 2024-05-28 02:49:10 -05:00
ab8e455e6b Add the --no-db flag to the --paclog option to allow the user to no use the pacman db in case it's corrupted. 2024-05-27 17:42:44 -05:00
fea9035a11 Final fixes 2024-05-27 17:10:37 -05:00
ad7f1f70a9 Better help message. 2024-05-27 16:57:03 -05:00
ab8c93b36f Better variable naming. 2024-05-27 16:51:30 -05:00
768e9e228b Update README. 2024-05-27 16:49:41 -05:00
8914f16cc5 Only match if package- matches db_dir
There are some packages which have very short names, like `go`. Without this, every `go*` package will match, now only packages with `go-*` will match. It's needed because the output of the pacman db dir contains `$pkgname-$pkgver`
2024-05-27 16:49:28 -05:00
b14d674355 Initial commit. 2024-05-27 16:27:06 -05:00
e26a49d19c
Initial commit 2024-05-27 15:51:07 -05:00