diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b17993..710ac2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## v2.1 +- Made the installer compatible with minimal Calculinux environments by replacing `install -m` with `cp` followed by `chmod`. + + ## Current - Bash shell integration is installed automatically through `~/.bashrc`. diff --git a/install.sh b/install.sh index 8d7c8f0..bfcc1bf 100755 --- a/install.sh +++ b/install.sh @@ -27,8 +27,10 @@ then fi mkdir -p "$LIBDIR" "$BINDIR" -install -m 755 "$SCRIPT_DIR/tui/tui.py" "$LIBDIR/tui.py" -install -m 644 "$SCRIPT_DIR/tui/tui-shell.bash" "$LIBDIR/tui-shell.bash" +cp "$SCRIPT_DIR/tui/tui.py" "$LIBDIR/tui.py" +chmod 755 "$LIBDIR/tui.py" +cp "$SCRIPT_DIR/tui/tui-shell.bash" "$LIBDIR/tui-shell.bash" +chmod 644 "$LIBDIR/tui-shell.bash" # Optional standalone entry point. The normal command is the Bash function # loaded from tui-shell.bash; this wrapper is useful for diagnostics.