GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    寮 (ryo@social.076.ne.jp)'s status on Wednesday, 23-Nov-2022 13:50:49 JST寮寮
    in reply to
    • Charliebrownau
    • Furgar
    • Terminal Autism
    @TerminalAutism @charliebrownau @furgar Portability is the big reason.
    You could use a script like this ( https://gitler.moe/TechnicalSuwako/detect-os/src/branch/master/.local/bin/getsystem ) to detect the right OS and distro (currently limited to Linux, FreeBSD, and OpenBSD only though), but it's always nicer to have your scripts more streamlined rather than having to spam it all with "if on Linux and Artix, do this, else if on OpenBaSeD, do this, else if on FreeBSD, do this" all over the place.
    In conversationWednesday, 23-Nov-2022 13:50:49 JST from social.076.ne.jppermalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: gitler.moe
      detect-os
      from TechnicalSuwako
      detect-os
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.