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)
|
2016-02-18 11:55:05 -07:00
|
|
|
options+=("exfat-utils" "" on)
|
2015-08-20 14:37:06 -06:00
|
|
|
options+=("gptfdisk" "" on)
|
|
|
|
options+=("autofs" "" 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)
|
2017-02-04 15:09:35 -07:00
|
|
|
options+=("sshfs" "" off)
|
2018-09-29 17:16:35 -06:00
|
|
|
options+=("cifs-utils" "" off)
|
|
|
|
options+=("smbclient" "" 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)
|
|
|
|
options+=("hfsprogs" "" off)
|
|
|
|
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
|
|
|
|
|
|
|
sel=$(whiptail --backtitle "$apptitle" --title "File System Install" --checklist "" --cancel-button "Back" 0 0 0 \
|
|
|
|
"${options[@]}" \
|
|
|
|
3>&1 1>&2 2>&3)
|
|
|
|
|
|
|
|
if [ ! "$?" = "0" ]; then
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
for itm in $sel; do
|
|
|
|
case $itm in
|
|
|
|
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
|
|
|
|
esac
|
|
|
|
done
|
|
|
|
|
|
|
|
instpkg "$pkg" "$aurpkg"
|
|
|
|
|
|
|
|
exit 0
|