mirror of
https://github.com/Oxbian/PackageSaver.git
synced 2025-06-04 01:38:10 +02:00
Update readme
This commit is contained in:
parent
c00685e72f
commit
0936a12230
BIN
PackageSaver
BIN
PackageSaver
Binary file not shown.
18
README.md
18
README.md
@ -9,14 +9,18 @@
|
|||||||
|
|
||||||
## Package Saver what is it ?
|
## Package Saver what is it ?
|
||||||
|
|
||||||
It's a tools to save the package you want to keep for your reinstallation. They are all in a txt file, just need paste them after your reinstallation to have it back
|
It's a tool to save packages you want to keep for your distro-hopping. They are all in a txt file, just need paste them after your reinstallation to have it back
|
||||||
|
|
||||||
## What is automated ?
|
## What is automated ?
|
||||||
|
|
||||||
Currently the only automed thing is the detection and the parsing of your package manager (for the moment only pacman and apk are parsed and working). Later I will work on a GUI and a way to just use this programs to reinstall package from a list of packages.
|
Currently the only automed thing is the detection and the parsing of your package manager (for the moment only pacman and apk are parsed and working, if you want you can help by adding a parsing and making a pull request).
|
||||||
|
|
||||||
|
A GUI is in work in progress build, check the GUI branch.
|
||||||
|
|
||||||
## How to use it ?
|
## How to use it ?
|
||||||
|
|
||||||
|
### If you want to use the command line
|
||||||
|
|
||||||
1) Make sure you have the correct permission to use it
|
1) Make sure you have the correct permission to use it
|
||||||
|
|
||||||
> chmod 777 packageManager.sh
|
> chmod 777 packageManager.sh
|
||||||
@ -25,6 +29,16 @@ Currently the only automed thing is the detection and the parsing of your packag
|
|||||||
|
|
||||||
> ./packageManager.sh
|
> ./packageManager.sh
|
||||||
|
|
||||||
|
### If you want to use the GUI
|
||||||
|
|
||||||
|
1) Compile the project
|
||||||
|
|
||||||
|
> make
|
||||||
|
|
||||||
|
2) Run the programs, check packages you want to keeps, and after click on the "Save in a file" button.
|
||||||
|
|
||||||
|
> ./PackageSaver
|
||||||
|
|
||||||
## How to contribute ?
|
## How to contribute ?
|
||||||
|
|
||||||
Everyone is free to contribute, just clone the project, make your modification and make a pull request with an explanaition of your changes
|
Everyone is free to contribute, just clone the project, make your modification and make a pull request with an explanaition of your changes
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
a52dec
|
|
||||||
aalib
|
|
||||||
acl
|
|
@ -98,7 +98,7 @@ void on_saveFile_clicked (GtkButton *btn, gpointer user_data)
|
|||||||
gtk_tree_model_get_iter_first(model, &iter);
|
gtk_tree_model_get_iter_first(model, &iter);
|
||||||
FILE *fp;
|
FILE *fp;
|
||||||
|
|
||||||
fp = fopen("pkgToSave.txt", "w");
|
fp = fopen("packageToKeep.txt", "w");
|
||||||
if (fp == NULL)
|
if (fp == NULL)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Error opening the file, please open an issue on github!");
|
fprintf(stderr, "Error opening the file, please open an issue on github!");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user