瀏覽代碼

Ports/dosfstools: Create symlinks automatically instead of manually

Replace the manual creation of symlinks with the
`--enable-compat-symlinks` configure option, which automatically creates
the symlinks that we want and more.
Tim Schumacher 2 年之前
父節點
當前提交
414a22a386
共有 1 個文件被更改,包括 3 次插入5 次删除
  1. 3 5
      Ports/dosfstools/package.sh

+ 3 - 5
Ports/dosfstools/package.sh

@@ -6,8 +6,6 @@ use_fresh_config_sub='true'
 config_sub_paths=('config.sub')
 files="https://github.com/dosfstools/dosfstools/releases/download/v${version}/dosfstools-${version}.tar.gz dosfstools-${version}.tar.gz 64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527"
 auth_type='sha256'
-
-post_install() {
-    ln -sf /usr/local/sbin/mkfs.fat "${SERENITY_INSTALL_ROOT}/usr/local/sbin/mkfs.vfat"
-    ln -sf /usr/local/sbin/mkfs.fat "${SERENITY_INSTALL_ROOT}/usr/local/sbin/mkfs.msdos"
-}
+configopts=(
+    "--enable-compat-symlinks"
+)