View Single Post
  #2   (View Single Post)  
Old 7th March 2016
e1-531g e1-531g is offline
ISO Quartermaster
 
Join Date: Mar 2014
Posts: 628
Default

Environment variables are not permanent if you just type them in shell.
You need to save that variable in file.
Alternatively you can insert inside pkg.conf:
Code:
cat /etc/pkg.conf                                                            
#installpath=http://ftp.fr.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/
installpath=http://ftp.hostserver.de/pub/OpenBSD/snapshots/packages/amd64/
It will configure pkg_*'s mirror path, but not create environment variable.
Reply With Quote