bdisk/extra/pre-build.d/etc/systemd/system/pacmandb.service

12 lines
267 B
Desktop File

[Unit]
Description=Restoring Installed Packages DB
[Service]
Type=oneshot
#ExecStart=/usr/bin/tar -Jxf /usr/local/pacman.db.tar.xz -C /var/lib/pacman/
ExecStart=/usr/bin/bash /etc/systemd/scripts/pacmandb.sh
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target