Bug #985
"make install" requires root permissions to update apt files
Description
I could not install doomsday to home directory because "make install":
mkdir: /etc/apt: Permission denied- Error code 1
It makes sense to update apt files only in apt-based linuxes. Directory /etc/apt/sources.list.d should not be created anyway. The attached patch adds deng_aptunstable/deng_aptstable option only if the directory exists.
Probably, apt files should not be updated in apt-based linuxes too if directory /etc/apt/sources.list.d is not writable.
Labels: Build System