This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
create_your_repository [2015/05/03 21:01] stephdl [Create Repoview] |
create_your_repository [2019/06/05 19:48] (current) |
||
---|---|---|---|
Line 60: | Line 60: | ||
Now we will use repomanage, this command is only made to list either old or new package, matter of choice. | Now we will use repomanage, this command is only made to list either old or new package, matter of choice. | ||
- | repomanage --keep=2 --old /var/www/vhosts/de-labrusse.fr/ | + | repomanage --keep=2 --old /your/path/to/folder |
or | or | ||
- | repomanage --keep=1 --new /var/www/vhosts/de-labrusse.fr/ | + | repomanage --keep=1 --new /your/path/to/folder |
here I want to list and keep only two versions of each rpm. Put this command in a cron job | here I want to list and keep only two versions of each rpm. Put this command in a cron job | ||
- | rm $(repomanage --keep=2 --old /var/www/vhosts/de-labrusse.fr/ | + | rm $(repomanage --keep=2 --old /your/path/to/folder) -rf |
=====Sign your RPM===== | =====Sign your RPM===== |