I'm trying to sort out Barry's mageia2ppm to handle a number of possibilities for a field in the one list as it's changed in mageia2 where files in the file lists can now have an inclusion of:
mga1, still used mageia 1 files,
mga2, new mageia2 compiled files,
or mgac, the talked about Mageia 'cauldron' file directory, which is their "here be dragons" level files. Currently mageia 2 beta lives there!
Task Problem No1.
I want to setup the following
Variable MAGEIA_VERSION = '1' or '2' or 'c' (the digits 1, 2, or the lowercase letter c) only.
so it should look like?
Code: Select all
#!/bin/bash
MAGEIA_VERSION= 1||2||c
Can I have some guidance please![/code]