Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix same sys version bug in pc-extractoverlay

  • Loading branch information...
commit 5a74643b3062e61bb64c7f09577af7a808c8a85d 1 parent b12f4f6
@kmoore134 kmoore134 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src-sh/pc-extractoverlay/pc-extractoverlay
View
2  src-sh/pc-extractoverlay/pc-extractoverlay
@@ -109,7 +109,7 @@ post_extract_setup()
grep -q "ARCH" /usr/local/etc/pkg.conf
if [ $? -eq 0 ] ; then
ARCH=`uname -m`
- FBSDVER=`uname -r`
+ FBSDVER=`uname -r | cut -d '-' -f 1-2`
sed -i '' "s|VERSION|$FBSDVER|g" /usr/local/etc/pkg.conf
if [ $? -ne 0 ] ; then
echo "WARNING: Failed setting VERSION in pkg.conf"
Please sign in to comment.
Something went wrong with that request. Please try again.