Permalink
Browse files

Fix same sys version bug in pc-extractoverlay

  • Loading branch information...
1 parent b12f4f6 commit 5a74643b3062e61bb64c7f09577af7a808c8a85d @kmoore134 kmoore134 committed Apr 29, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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"

0 comments on commit 5a74643

Please sign in to comment.