obosdi-pkg/install/system/filesystem

51 lines
1.4 KiB
Text
Raw Normal View History

2015-08-20 14:37:06 -06:00
#!/bin/bash
. ./lib
options=()
2015-11-01 13:41:15 -07:00
options+=("os-prober" "Detect OS for multi-boot (grub)" off)
options+=("snapper" "snapshot manager (ext4, lvm, btrfs)" off)
2015-08-20 14:37:06 -06:00
options+=("dosfstools" "FAT32 file support (Windows Drives)" on)
options+=("ntfs-3g" "NTFS file support (Windows Drives)" on)
options+=("btrfs-progs" "BTRFS file utils" on)
2018-09-29 17:27:06 -06:00
options+=("exfat-utils" "EXFAT file support" on)
2015-08-20 14:37:06 -06:00
options+=("gptfdisk" "" on)
2016-12-13 02:34:33 -07:00
options+=("fuse2" "" on)
2016-12-13 03:51:12 -07:00
options+=("fuse3" "" on)
2015-08-20 14:37:06 -06:00
options+=("fuseiso" "" on)
2018-09-29 17:27:06 -06:00
options+=("sshfs" "SSH client" off)
options+=("cifs-utils" "SMB mount command" off)
options+=("smbclient" "SMB full client" off)
2015-08-20 14:37:06 -06:00
options+=("nfs-utils" "" off)
options+=("open-iscsi" "" off)
2015-11-01 13:41:15 -07:00
options+=("glusterfs" "" off)
2019-03-16 13:29:06 -06:00
options+=("hfsprogs" "(AUR)" off)
2015-11-01 13:41:15 -07:00
options+=("mtpfs" "" off)
options+=("unionfs-fuse" "" off)
options+=("nilfs-utils" "" off)
2017-05-07 07:44:41 -06:00
options+=("gvfs" "" off)
2015-11-01 13:41:15 -07:00
options+=("s3fs-fuse" "" off)
#options+=("fuse-exfat" "" off) # Normally installed by dependencies
#options+=("f2fs-tools" "" off) # Normally installed by dependencies
#options+=("favfs2" "" off) # Normally installed by dependencies
2015-08-20 14:37:06 -06:00
2022-11-10 14:27:23 -07:00
sel=$(dialog --backtitle "$apptitle" --title "File System Install" --cancel-button "Back" --checklist "" 0 0 0 \
2015-08-20 14:37:06 -06:00
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
exit 1
fi
for itm in $sel; do
case $itm in
2022-11-10 14:27:23 -07:00
"hfsprogs")
2019-03-16 13:29:06 -06:00
aurpkg="$aurpkg $(echo $itm | sed 's/"//g')"
;;
2015-08-20 14:37:06 -06:00
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
esac
done
instpkg "$pkg" "$aurpkg"
exit 0