Fix profile.d script sourcing on some distros
Fix profile.d script sourcing on some distros

Currently the elektraenv.sh was added to the /etc/profile.d/ folder
as kdb without .sh extension. Distributions like Arch Linux use *.sh
globing to source all files in the /etc/profile.d/ folder and
therefore do not read the kdb file without extension.
Adding sh when renaming the file on cmake install should fix this.

mpranj/libelektra,ElektraInitiative/libelektra,e1528532/libelektra,petermax2/libelektra,ElektraInitiative/libelektra,e1528532/libelektra,e1528532/libelektra,BernhardDenner/libelektra,ElektraInitiative/libelektra,ElektraInitiative/libelektra,ElektraInitiative/libelektra,ElektraInitiative/libelektra,mpranj/libelektra,mpranj/libelektra,e1528532/libelektra,mpranj/libelektra,e1528532/libelektra,e1528532/libelektra,petermax2/libelektra,BernhardDenner/libelektra,ElektraInitiative/libelektra,mpranj/libelektra,petermax2/libelektra,petermax2/libelektra,BernhardDenner/libelektra,mpranj/libelektra,mpranj/libelektra,BernhardDenner/libelektra,mpranj/libelektra,BernhardDenner/libelektra,ElektraInitiative/libelektra,BernhardDenner/libelektra,mpranj/libelektra,petermax2/libelektra,ElektraInitiative/libelektra,e1528532/libelektra,ElektraInitiative/libelektra,petermax2/libelektra,BernhardDenner/libelektra,BernhardDenner/libelektra,mpranj/libelektra,petermax2/libelektra,ElektraInitiative/libelektra,petermax2/libelektra,petermax2/libelektra,mpranj/libelektra,e1528532/libelektra,BernhardDenner/libelektra