diff --git a/PackageSaver b/PackageSaver deleted file mode 100755 index 90872e8..0000000 Binary files a/PackageSaver and /dev/null differ diff --git a/README.md b/README.md index c518a13..5c68430 100644 --- a/README.md +++ b/README.md @@ -9,14 +9,18 @@ ## 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 ? -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 ? +### If you want to use the command line + 1) Make sure you have the correct permission to use it > chmod 777 packageManager.sh @@ -25,6 +29,16 @@ Currently the only automed thing is the detection and the parsing of your packag > ./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 ? Everyone is free to contribute, just clone the project, make your modification and make a pull request with an explanaition of your changes diff --git a/pkgToSave.txt b/pkgToSave.txt deleted file mode 100644 index 2a6428f..0000000 --- a/pkgToSave.txt +++ /dev/null @@ -1,3 +0,0 @@ -a52dec -aalib -acl diff --git a/src/PkgSaver.c b/src/PkgSaver.c index 4a01f67..5b3ffd4 100644 --- a/src/PkgSaver.c +++ b/src/PkgSaver.c @@ -98,7 +98,7 @@ void on_saveFile_clicked (GtkButton *btn, gpointer user_data) gtk_tree_model_get_iter_first(model, &iter); FILE *fp; - fp = fopen("pkgToSave.txt", "w"); + fp = fopen("packageToKeep.txt", "w"); if (fp == NULL) { fprintf(stderr, "Error opening the file, please open an issue on github!");