Skip to content

If /usr/local/bin/uclcmd exists, consider using uclcmd to append to FreeBSD.conf #3

@grahamperrin

Description

@grahamperrin

Background

In the example at #2 (comment) I intentionally did not bother to change my preferred shell /bin/csh to sh before following the example:

root@mowa219-gjp4-8570p-freebsd:~ # echo 'FreeBSD: { url: "http://pkg0.bme.freebsd.org/${ABI}/latest" }' \
?         > /usr/local/etc/pkg/repos/FreeBSD.conf
root@mowa219-gjp4-8570p-freebsd:~ # 

PEBKAM (intentional), but it's the type of mistake that other users might make.

Idea

https://github.com/ehaupt/fastest_pkg/blob/master/fastest_pkg might be enhanced:

  • if /usr/local/bin/uclcmd exists (from devel/uclcmd)
  • then offer to write a suggested line to /usr/local/etc/pkg/repos/FreeBSD.conf.

Criterion

For this to work acceptably, case sensitivity must be observed.

allanjude/uclcmd#17allanjude/uclcmd#28https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258451#c1

  • Just need someone to update the port

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258451#c0 included a ucl set example that currently results in unwanted change of case from FreeBSD to freebsd.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions