Background: I would like to regularly download and install source to /usr/src
for certain important development packages. (For me: Qt5 and friends.)
I have seen this other question about one-time downloads of Debian source packages. However, one-time downloads of Debian source packages will not keep source code current each time the associated binary package is updated.
Example: Package qtbase5-dev
has source package qtbase-opensource-src
. Each time package qtbase5-dev
changes, the source package will not be automatically downloaded and installed into /usr/src
.
Is there an existing way to do this using aptitude
(preferrably) or apt
?
git pull
periodicly?