Skip to content

Commit

Permalink
fix: rpm drift
Browse files Browse the repository at this point in the history
  • Loading branch information
innovisus committed Feb 1, 2025
1 parent 59dcdec commit 883a20e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/packages/apt_ending.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/bin/bash

# Создаем новый каталог для базы rpm
mkdir -p /usr/share/rpm
rsync -aA /var/lib/rpm/ /usr/share/rpm/
rm -rf /var/lib/rpm && ln -s ../../usr/share/rpm /var/lib/rpm

apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* && mkdir /var/lib/apt/lists/partial

0 comments on commit 883a20e

Please sign in to comment.