You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the packages names are hardcoded in the code, it will be really hard to keep it updated. Instead of this something like this could work
- packges.txt
- autoupdate_packagelist.sh
The packages.txt would be a textfile containing all the installed packages. And the second script contains the script to get all the installed packages at the moment and then pipe the output to the packages.txt
If you do something like this, it means the install script will basically be a for loop iterating over the list of the packages and would be much cleaner and nice experience.
It can also be called using a cron job so that the latest is updated daily and the system is snapshotted periodically.
The text was updated successfully, but these errors were encountered:
Since the packages names are hardcoded in the code, it will be really hard to keep it updated. Instead of this something like this could work
The packages.txt would be a textfile containing all the installed packages. And the second script contains the script to get all the installed packages at the moment and then pipe the output to the packages.txt
If you do something like this, it means the install script will basically be a for loop iterating over the list of the packages and would be much cleaner and nice experience.
It can also be called using a cron job so that the latest is updated daily and the system is snapshotted periodically.
The text was updated successfully, but these errors were encountered: