Project

General

Profile

Bug #985

"make install" requires root permissions to update apt files

Added by vvv1 over 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
2012-02-29
% Done:

100%


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

Also available in: Atom PDF