Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178232443
D44560.1796296946.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
834 B
Referenced Files
None
Subscribers
None
D44560.1796296946.diff
View Options
diff --git a/lang/dotnet/Makefile b/lang/dotnet/Makefile
--- a/lang/dotnet/Makefile
+++ b/lang/dotnet/Makefile
@@ -40,6 +40,9 @@
DIST_SUBDIR= dotnet
+SUB_FILES= post-install-set-location
+PKGPOSTINSTALL= ${WRKDIR}/post-install-set-location
+
BOOTSTRAP_DOTNETVERSION= 8.0
BOOTSTRAP_SDKVERSION= ${BOOTSTRAP_DOTNETVERSION}.100
BOOTSTRAP_SDKVERSIONSUFFIX= -rtm.23551.1
diff --git a/lang/dotnet/files/post-install-set-location.in b/lang/dotnet/files/post-install-set-location.in
new file mode 100644
--- /dev/null
+++ b/lang/dotnet/files/post-install-set-location.in
@@ -0,0 +1,8 @@
+ETCFILE=/etc/dotnet/install_location
+if [ -f ${ETCFILE} ]; then
+ echo ${ETCFILE} exists, skipping.
+else
+ echo Writing dotnet location to ${ETCFILE}
+ mkdir -p $(dirname ${ETCFILE}) || exit 1;
+ echo "%%PREFIX%%/dotnet" >${ETCFILE}
+fi
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 3, 11:22 AM (13 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42180487
Default Alt Text
D44560.1796296946.diff (834 B)
Attached To
Mode
D44560: lang/dotnet: Configure install location
Attached
Detach File
Event Timeline