packagefs: Add a .settings package symlink

It points to the settings directory appropriate for global settings.
When a package is installed in ~/config, we cannot use the settings/
subdirectory for global settings, since then the files could clash with
equally named user specific settings files (e.g. in case of
ssh/known_hosts). So we use ~/config/settings/global for global
settings instead.
This commit is contained in:
Ingo Weinhold
2013-04-29 15:38:34 +02:00
parent 87a36d2227
commit 58081381ea
5 changed files with 112 additions and 60 deletions
+4 -1
View File
@@ -212,8 +212,11 @@ AddDirectoryToHaikuImage home mail draft ;
AddDirectoryToHaikuImage home mail in ;
AddDirectoryToHaikuImage home mail out ;
AddSymlinkToHaikuImage home config settings : deskbar : be ;
# global settings when a package is installed in ~/config
AddDirectoryToHaikuImage home config settings global ;
# Deskbar Application links
AddSymlinkToHaikuImage home config settings : deskbar : be ;
AddDirectoryToHaikuImage home config settings deskbar Applications ;
DESKBAR_APPLICATIONS = ActivityMonitor CharacterMap CodyCam CDPlayer DeskCalc
Devices DiskProbe DriveSetup DiskUsage Expander Icon-O-Matic Installer