Script to revert to previous version
Hi,
Here is a script, that point to slackware.uk "cumulative" repo, to revert easily to a previous version of a package, in some case this can be the only workaround to avoid a temporarily breakage in -current https://gitlab.com/maravtdm/slackbui...ref_type=heads As for example: Code:
blackstar :: ~ » pkg_cumul Code:
blackstar:~:# pkg_cumul Code:
blackstar:~:# pkg_cumul enchant Code:
Package /tmp/enchant-2.6.6-x86_64-1.txz (55.54 KiB) downloaded successfully ! Code:
+============================================================================== The mirror (slackware.uk) and the number of previous versions can be easily changed in the script |
I'm not on current so I don't have use for this, but if I did I'd add the GPG check.
|
This can be used with personal repos as well??
|
Quote:
|
Quote:
|
Quote:
|
Quote:
But it would be trivial to adapt it to other repositories |
Nifty tool marav!
Tool added to my tool box. I don't normally need to revert packages but when I do I will use this nice script. :hattip: |
Very useful tool.
Isn't that a typo in the code stating "download success" You have "install or delete". (i/R) Shouldn't it be install or remove or (i/D)? |
Quote:
Catch the last commit, I made a few corrections i.e. (I/d) : Install is now the default option |
All times are GMT -5. The time now is 10:30 PM. |