Replace the manual creation of symlinks with the `--enable-compat-symlinks` configure option, which automatically creates the symlinks that we want and more.
@@ -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"
+)